redinger / validation_reflection

This plugin adds reflective access to validations
http://rubygems.org/gems/validation_reflection
MIT License
298 stars 18 forks source link

Rails3 - Use toplevel init.rb; rails/init.rb is deprecated #9

Open gudata opened 14 years ago

gudata commented 14 years ago

Hello, I got this warning. Please tell me how I can avoid this warning.

DEPRECATION WARNING: Use toplevel init.rb; rails/init.rb is deprecated: /home/guda/re/vendor/plugins/validation_reflection/rails/init.rb. (called from /home/guda/re/config/environment.rb:5)

Maybe it is something very easy.

redinger commented 13 years ago

Are you using 1.0.0 beta 4 or later?

gudata commented 13 years ago

Me too. I have removed and install the latest version and got the same message. After doing what jqm says deprecation warning is gone