LoginSignup
1
1

More than 5 years have passed since last update.

Rails 3.1: id="user_new" -> Rails 3.2: id="new_user"

Posted at

たいていの Rails アプリケーションには User モデルがあると思います。ある Rails アプリケーションの Rails を 3.1 から 3.2 に上げたところ、以下のような現象に遭遇しました。
Rails 3.1 まで id="user_new" となっていた User モデルの form の自動生成タグが、Rails 3.2 で id="new_user" となり、JavaScript が動かなくなっていました。密かにはまりそうな気がするので共有します。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1