From 7aa9eed88fdfb1a8010c4ca7468e9ebd527494f1 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 1 Sep 2006 23:37:10 +0000 Subject: Deprecation: update docs. Closes #5998. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/form_options_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_view/helpers/form_options_helper.rb') diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 12a5f7f0f1..98c60fab5b 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -26,7 +26,7 @@ module ActionView # # Another common case is a select tag for an belongs_to-associated object. For example, # - # select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }) + # select("post", "person_id", Person.find(:all).collect {|p| [ p.name, p.id ] }) # # could become: # @@ -43,7 +43,7 @@ module ActionView # See options_for_select for the required format of the choices parameter. # # Example with @post.person_id => 1: - # select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }, { :include_blank => true }) + # select("post", "person_id", Person.find(:all).collect {|p| [ p.name, p.id ] }, { :include_blank => true }) # # could become: # -- cgit v1.2.3