This post originated from an RSS feed registered with Ruby Buzz
by rwdaigle.
Original Post: What's New in Edge Rails: Deprecated Finders
Feed Title: Ryan's Scraps
Feed URL: http://feeds.feedburner.com/RyansScraps
Feed Description: Ryan Daigle's various technically inclined rants along w/ the "What's new in Edge Rails" series.
Those finder methods that have been marked for deprecation have now been formally deprecated using the nifty deprecation feature recently added to edge Rails. So, if you currently use any one of:
find_on_conditions
find_first
find_all
be prepared to get a little slap on the hand in the form of an error message: Your application calls ActiveRecord::Base##find_XXX, which is now deprecated. Please see the API documents at http://api.rubyonrails.org/ for more information.