Changeset 4898
- Timestamp:
- 09/01/06 23:37:10 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/caching.rb (modified) (1 diff)
- trunk/actionpack/lib/action_controller/verification.rb (modified) (1 diff)
- trunk/actionpack/lib/action_view/helpers/form_options_helper.rb (modified) (2 diffs)
- trunk/actionwebservice/CHANGELOG (modified) (1 diff)
- trunk/actionwebservice/lib/action_web_service/base.rb (modified) (1 diff)
- trunk/activerecord/CHANGELOG (modified) (1 diff)
- trunk/activerecord/lib/active_record/associations.rb (modified) (1 diff)
- trunk/activerecord/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r4896 r4898 1 1 *SVN* 2 3 * Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark] 2 4 3 5 * Make auto_link parse a greater subset of valid url formats. [Jamis Buck] trunk/actionpack/lib/action_controller/caching.rb
r4885 r4898 267 267 # <% cache do %> 268 268 # All the topics in the system: 269 # <%= render _collection_of_partials "topic", Topic.find_all%>269 # <%= render :partial => "topic", :collection => Topic.find(:all) %> 270 270 # <% end %> 271 271 # trunk/actionpack/lib/action_controller/verification.rb
r4715 r4898 44 44 # called. 45 45 # * <tt>:session</tt>: a single key or an array of keys that must 46 # be in the @sessionin 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. 47 47 # * <tt>:flash</tt>: a single key or an array of keys that must 48 48 # 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 27 27 # Another common case is a select tag for an <tt>belongs_to</tt>-associated object. For example, 28 28 # 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 ] }) 30 30 # 31 31 # could become: … … 44 44 # 45 45 # 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 }) 47 47 # 48 48 # could become: trunk/actionwebservice/CHANGELOG
r4891 r4898 1 1 *SVN* 2 3 * Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark] 2 4 3 5 * ActionWebService WSDL generation ignores HTTP_X_FORWARDED_HOST [Paul Butcher <paul@paulbutcher.com>] trunk/actionwebservice/lib/action_web_service/base.rb
r4728 r4898 13 13 # 14 14 # def find_person(criteria) 15 # Person.find _all[...]15 # Person.find(:all) [...] 16 16 # end 17 17 # trunk/activerecord/CHANGELOG
r4894 r4898 1 1 *SVN* 2 3 * Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark] 2 4 3 5 * Add some XmlSerialization tests for ActiveRecord [Rick Olson] trunk/activerecord/lib/active_record/associations.rb
r4848 r4898 85 85 # * <tt>Project#project_manager, Project#project_manager=(project_manager), Project#project_manager.nil?,</tt> 86 86 # * <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> 88 88 # <tt>Project#milestones.build, Project#milestones.create</tt> 89 89 # * <tt>Project#categories.empty?, Project#categories.size, Project#categories, Project#categories<<(category1),</tt> trunk/activerecord/README
r2908 r4898 265 265 266 266 # 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'") 268 268 269 269 next_angle = Firm.find_by_sql("SELECT * FROM companies WHERE id = 1").first