Hash-Based and Dynamic Finder Methods


You may recall that in previous versions of Rails, deprecation warnings for the “old” ActiveRecord query syntax were thrown constantly. For example:

User.find(:first, :conditions => { … })


Support for this syntax is no longer available in Rails 4. To get this functionality back into your application, you'll need to install the activerecord-deprecated_finders gem:


Comments