diff options
author | Jérémie Bonal <jeremie.bonal@gmail.com> | 2017-12-01 17:56:45 +0100 |
---|---|---|
committer | Jérémie Bonal <jeremie.bonal@gmail.com> | 2017-12-27 17:49:07 +0100 |
commit | 0d73056436329c21aa0cca972964e8df49670391 (patch) | |
tree | 95abb27fd0e77e56d566d8c1d715aa9b4f3c34ce /actionview/app/assets/javascripts | |
parent | b852ef2660dac36e348865b455fab7fbcc0d2a7f (diff) | |
download | rails-0d73056436329c21aa0cca972964e8df49670391.tar.gz rails-0d73056436329c21aa0cca972964e8df49670391.tar.bz2 rails-0d73056436329c21aa0cca972964e8df49670391.zip |
Allow the use of callable objects as group methods for grouped selects.
Replaced the uses of `group.send(...)` in `option_groups_from_collection_for_select`
by calls to `value_for_collection(group, ...)`, allowing the use of
procs, lambdas and other callable objects as parameters.
Diffstat (limited to 'actionview/app/assets/javascripts')
0 files changed, 0 insertions, 0 deletions