diff options
author | Ana María Martínez Gómez <ammartinez@suse.de> | 2018-08-08 10:08:43 +0200 |
---|---|---|
committer | Ana María Martínez Gómez <ammartinez@suse.de> | 2018-08-08 10:14:13 +0200 |
commit | a9764dcc07cf9d6280b313da734d98e096b7d122 (patch) | |
tree | f6c4d9fdcbb4d77640db9a159462c2442aaee3e3 /activerecord/test | |
parent | 87b6e6aa4328f16edd68978079f473169cceecbd (diff) | |
download | rails-a9764dcc07cf9d6280b313da734d98e096b7d122.tar.gz rails-a9764dcc07cf9d6280b313da734d98e096b7d122.tar.bz2 rails-a9764dcc07cf9d6280b313da734d98e096b7d122.zip |
Use public_send in extract_values_from_collection
Avoid exposing private methods in view's helpers. However, as
`extract_values_from_collection` is only called from
`options_from_collection_for_select` where `value_for_collection` is
previously called, this case was already covered. The change makes
anyway sense for consistency and in case the code changes in the
future.
Diffstat (limited to 'activerecord/test')
0 files changed, 0 insertions, 0 deletions