升级到 Rails4 后,我收到以下警告,我该如何解决
.../gems/activerecord-4.0.0/lib/active_record/core.rb:103: warning: already initialized constant #<Module:0xbc58784>::AttrNames
.../gems/activerecord-4.0.0/lib/active_record/core.rb:103: warning: previous definition of AttrNames was here
请帮我。我的功能工作正常,但我不想在我的应用程序中发出警告,所以我该如何解决这个问题。