aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorJérémie Bonal <jeremie.bonal@gmail.com>2017-12-01 17:56:45 +0100
committerJérémie Bonal <jeremie.bonal@gmail.com>2017-12-27 17:49:07 +0100
commit0d73056436329c21aa0cca972964e8df49670391 (patch)
tree95abb27fd0e77e56d566d8c1d715aa9b4f3c34ce /activestorage
parentb852ef2660dac36e348865b455fab7fbcc0d2a7f (diff)
downloadrails-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 'activestorage')
0 files changed, 0 insertions, 0 deletions