Rails Dispatch

Rails news delivered fresh

Presented by Engine Yard

View Question

Vote on questions you’d like to see answered by the expert contributors

Signup to ask questions or vote for the questions you’d like to see answered.

I just read your piece on upgrading to Rails 3 and I was hoping you could address the deprecation warnings a little. Moving to Rails 3 will be my first Rails upgrade and as a result, I’m not sure how the Rails team handles these notices and where I should even look for them.

I think you guys are doing a great job of getting the community ready for Rails 3, I just thought it might be nice for a little write up on how these warnings will be displayed to the user and what we can do about them.


Asked May 23, 2010
Rizwan Reza answered

Hey Jon,

Rails 3 deprecates quite a few areas in favor of new and better ways of doing things. You might want to look at the log files to see what are the deprecation notices concerning the code you have. Also, the Rails 3 Changelog details them nicely: http://edgeguides.rubyonrails.org/3_0_release_notes.html

The core team cares a lot about how deprecation warnings are displayed, so you’ll get clear instructions on what needs to be changed to remove the notice.


Answered May 28, 2010