Permalink
Browse files

removes unnecessary curlies in collection_select rdoc

  • Loading branch information...
1 parent 5d21676 commit dfa19408651ecc82e2aeba95d93db871ba8a6e41 @fxn fxn committed Jan 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -149,7 +149,7 @@ def select(object, method, choices, options = {}, html_options = {})
# 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]">

0 comments on commit dfa1940

Please sign in to comment.