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

Changeset 4898

Show
Ignore:
Timestamp:
09/01/06 23:37:10 (2 years ago)
Author:
bitsweat
Message:

Deprecation: update docs. Closes #5998.

Files:

Legend:

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

    r4896 r4898  
    11*SVN* 
     2 
     3* Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark] 
    24 
    35* Make auto_link parse a greater subset of valid url formats. [Jamis Buck] 
  • trunk/actionpack/lib/action_controller/caching.rb

    r4885 r4898  
    267267    #   <% cache do %> 
    268268    #     All the topics in the system: 
    269     #     <%= render_collection_of_partials "topic", Topic.find_all %> 
     269    #     <%= render :partial => "topic", :collection => Topic.find(:all) %> 
    270270    #   <% end %> 
    271271    # 
  • trunk/actionpack/lib/action_controller/verification.rb

    r4715 r4898  
    4444      #   called. 
    4545      # * <tt>:session</tt>: a single key or an array of keys that must 
    46       #   be in the @session in order for the action(s) to be safely called. 
     46      #   be in the <tt>session</tt> in order for the action(s) to be safely called. 
    4747      # * <tt>:flash</tt>: a single key or an array of keys that must 
    4848      #   be in the flash in order for the action(s) to be safely called. 
  • trunk/actionpack/lib/action_view/helpers/form_options_helper.rb

    r4331 r4898  
    2727    # Another common case is a select tag for an <tt>belongs_to</tt>-associated object. For example, 
    2828    # 
    29     #   select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }) 
     29    #   select("post", "person_id", Person.find(:all).collect {|p| [ p.name, p.id ] }) 
    3030    # 
    3131    # could become: 
     
    4444      # 
    4545      # Example with @post.person_id => 1: 
    46       #   select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }, { :include_blank => true }) 
     46      #   select("post", "person_id", Person.find(:all).collect {|p| [ p.name, p.id ] }, { :include_blank => true }) 
    4747      # 
    4848      # could become: 
  • trunk/actionwebservice/CHANGELOG

    r4891 r4898  
    11*SVN* 
     2 
     3* Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark] 
    24 
    35* ActionWebService WSDL generation ignores HTTP_X_FORWARDED_HOST [Paul Butcher <paul@paulbutcher.com>] 
  • trunk/actionwebservice/lib/action_web_service/base.rb

    r4728 r4898  
    1313  # 
    1414  #     def find_person(criteria) 
    15   #       Person.find_all [...] 
     15  #       Person.find(:all) [...] 
    1616  #     end 
    1717  # 
  • trunk/activerecord/CHANGELOG

    r4894 r4898  
    11*SVN* 
     2 
     3* Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark] 
    24 
    35* Add some XmlSerialization tests for ActiveRecord [Rick Olson] 
  • trunk/activerecord/lib/active_record/associations.rb

    r4848 r4898  
    8585    # * <tt>Project#project_manager, Project#project_manager=(project_manager), Project#project_manager.nil?,</tt> 
    8686    # * <tt>Project#milestones.empty?, Project#milestones.size, Project#milestones, Project#milestones<<(milestone),</tt> 
    87     #   <tt>Project#milestones.delete(milestone), Project#milestones.find(milestone_id), Project#milestones.find_all(conditions),</tt> 
     87    #   <tt>Project#milestones.delete(milestone), Project#milestones.find(milestone_id), Project#milestones.find(:all, options),</tt> 
    8888    #   <tt>Project#milestones.build, Project#milestones.create</tt> 
    8989    # * <tt>Project#categories.empty?, Project#categories.size, Project#categories, Project#categories<<(category1),</tt> 
  • trunk/activerecord/README

    r2908 r4898  
    265265 
    266266   # SQL: SELECT * FROM companies WHERE id = 1 AND name = 'Next Angle' 
    267    next_angle = Company.find_first "name = 'Next Angle'" 
     267   next_angle = Company.find(:first, :conditions => "name = 'Next Angle'") 
    268268 
    269269   next_angle = Firm.find_by_sql("SELECT * FROM companies WHERE id = 1").first