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-09 06:48:04 -0800 |
commit | 3a210da65f7718721f86397d64e43beb534121ef (patch) | |
tree | 05c83df0f6b9081a29ad5ab6927275edb181b9e8 /activerecord/test/models/treaty.rb | |
parent | 01c891824e30861a0f6884f15cbe5fc929b90f5f (diff) | |
parent | 8e05a6f6380c6ddbef5a0620b30d19dbca7f2f15 (diff) | |
download | rails-3a210da65f7718721f86397d64e43beb534121ef.tar.gz rails-3a210da65f7718721f86397d64e43beb534121ef.tar.bz2 rails-3a210da65f7718721f86397d64e43beb534121ef.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][]" ...>
Diffstat (limited to 'activerecord/test/models/treaty.rb')
0 files changed, 0 insertions, 0 deletions