Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4682

Show
Ignore:
Timestamp:
08/05/06 23:00:34 (2 years ago)
Author:
nzkoz
Message:

Formally deprecate the deprecated finders. [Koz]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/CHANGELOG

    r4680 r4682  
    11*SVN* 
     2 
     3* Formally deprecate the deprecated finders. [Koz] 
    24 
    35* Formally deprecate rich associations.  [Koz] 
  • trunk/activerecord/lib/active_record/deprecated_finders.rb

    r1204 r4682  
    1111        find(ids, :conditions => conditions) 
    1212      end 
     13      deprecate :find_on_conditions 
    1314 
    1415      # This method is deprecated in favor of find(:first, options). 
     
    2223        find(:first, :conditions => conditions, :order => orderings, :joins => joins) 
    2324      end 
     25      deprecate :find_first 
    2426 
    2527      # This method is deprecated in favor of find(:all, options). 
     
    3739        find(:all, :conditions => conditions, :order => orderings, :joins => joins, :limit => limit, :offset => offset) 
    3840      end 
     41      deprecate :find_all 
    3942    end 
    4043  end