diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-09 06:48:04 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-12 19:58:22 -0300 |
commit | 488699166c3558963fa82d4689a35f8c3fd93f47 (patch) | |
tree | c2b5ed2940bd19c69a7c0e9295323c97208e9ce2 /railties/test/script_rails_loader_test.rb | |
parent | ccf256d8dcc68d975bbf00780c3b4096f47e29d3 (diff) | |
download | rails-488699166c3558963fa82d4689a35f8c3fd93f47.tar.gz rails-488699166c3558963fa82d4689a35f8c3fd93f47.tar.bz2 rails-488699166c3558963fa82d4689a35f8c3fd93f47.zip |
Merge pull request #9616 from exviva/multiple_select_name_double_square_brackets
Fix incorrectly appended square brackets to a multiple select box
Before:
select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
# => <select name="post[category][][]" ...>
After:
select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
# => <select name="post[category][]" ...>
Conflicts:
actionpack/CHANGELOG.md
actionpack/lib/action_view/helpers/tags/base.rb
actionpack/test/template/form_options_helper_test.rb
Diffstat (limited to 'railties/test/script_rails_loader_test.rb')
0 files changed, 0 insertions, 0 deletions