aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2018-08-22 23:39:07 +0930
committerMatthew Draper <matthew@trebex.net>2018-08-23 00:08:35 +0930
commit047a893da7a43b8e115b854c73735b9e6475838e (patch)
tree66cef1a720dfa5cf9f1f4f35f117da9ae7c6e66d /actionview/CHANGELOG.md
parent9eee4c1ed92050edbee08f16be78d355fb19c2f5 (diff)
parent0853cdffa2f09f02e854baed35c3323b6b35006f (diff)
downloadrails-047a893da7a43b8e115b854c73735b9e6475838e.tar.gz
rails-047a893da7a43b8e115b854c73735b9e6475838e.tar.bz2
rails-047a893da7a43b8e115b854c73735b9e6475838e.zip
Merge pull request #33547 from Ana06/patch-1
Use public_send in value_for_collection
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 6d45cc1d8a..46b3b1fa25 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,13 @@
+* Deprecate calling private model methods from view helpers.
+
+ For example, in methods like `options_from_collection_for_select`
+ and `collection_select` it is possible to call private methods from
+ the objects used.
+
+ Fixes #33546.
+
+ *Ana María Martínez Gómez*
+
* Fix issue with `button_to`'s `to_form_params`
`button_to` was throwing exception when invoked with `params` hash that