The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
What's New in Edge Rails: Deprecated Finders

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
rwdaigle

Posts: 312
Nickname: rwdaigle
Registered: Feb, 2003

Ryan is a passionate ruby developer with a strong Java background.
What's New in Edge Rails: Deprecated Finders Posted: Aug 17, 2006 9:53 AM
Reply to this message Reply

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.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by rwdaigle
Latest Posts From Ryan's Scraps

Advertisement

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.

Shame on you.

On a related note – using push_with_attributes is also deprecated. Use has_many :through instead.

tags: ,

Read: What's New in Edge Rails: Deprecated Finders

Topic: IBM On Rails Previous Topic   Next Topic Topic: Streamlined Framework: Domain Model Administration... for free

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use