diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-28 11:18:32 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-28 11:18:32 +0100 |
commit | dfa19408651ecc82e2aeba95d93db871ba8a6e41 (patch) | |
tree | 90a16b2e7ba1d64759cb9fb4856d5b0bb153101e /actionpack/lib/action_view/helpers/form_options_helper.rb | |
parent | 5d21676aaabf42a50e565c13c8c3c31d45627511 (diff) | |
download | rails-dfa19408651ecc82e2aeba95d93db871ba8a6e41.tar.gz rails-dfa19408651ecc82e2aeba95d93db871ba8a6e41.tar.bz2 rails-dfa19408651ecc82e2aeba95d93db871ba8a6e41.zip |
removes unnecessary curlies in collection_select rdoc
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_options_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_options_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionpack/lib/action_view/helpers/form_options_helper.rb index 02ad637509..d3e614b98f 100644 --- a/actionpack/lib/action_view/helpers/form_options_helper.rb +++ b/actionpack/lib/action_view/helpers/form_options_helper.rb @@ -149,7 +149,7 @@ module ActionView # end # # Sample usage (selecting the associated Author for an instance of Post, <tt>@post</tt>): - # collection_select(:post, :author_id, Author.all, :id, :name_with_initial, {:prompt => true}) + # collection_select(:post, :author_id, Author.all, :id, :name_with_initial, :prompt => true) # # If <tt>@post.author_id</tt> is already <tt>1</tt>, this would return: # <select name="post[author_id]"> |