diff options
author | Karunakar (Ruby) <revurikarna@gmail.com> | 2013-07-22 00:48:06 +0530 |
---|---|---|
committer | Karunakar (Ruby) <revurikarna@gmail.com> | 2013-07-22 18:04:50 +0530 |
commit | afa5445060fb6bd1d40a79e1fda996682c39ffb8 (patch) | |
tree | e8e6f1af17704448eb26c2d671c503ac77e33326 /actionview | |
parent | b904701ff6f060a5bde85faab54449dd25d4ef5a (diff) | |
download | rails-afa5445060fb6bd1d40a79e1fda996682c39ffb8.tar.gz rails-afa5445060fb6bd1d40a79e1fda996682c39ffb8.tar.bz2 rails-afa5445060fb6bd1d40a79e1fda996682c39ffb8.zip |
syntax fix for f.select doc. [ci skip] .
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/form_options_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb index 8351548f06..f886fa34ee 100644 --- a/actionview/lib/action_view/helpers/form_options_helper.rb +++ b/actionview/lib/action_view/helpers/form_options_helper.rb @@ -756,7 +756,7 @@ module ActionView # Wraps ActionView::Helpers::FormOptionsHelper#select for form builders: # # <%= form_for @post do |f| %> - # <%= f.select :person_id, Person.all.collect {|p| [ p.name, p.id ] }, { include_blank: true }) %> + # <%= f.select :person_id, Person.all.collect { |p| [ p.name, p.id ] }, include_blank: true %> # <%= f.submit %> # <% end %> # |