aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-01-15 13:41:39 +0000
committerAndrew White <andrew.white@unboxed.co>2017-01-15 13:41:39 +0000
commitb5edc55d9fc3f6fc87ab06b5897917e051a82aef (patch)
treedb6b8adacb9552cf7b67467d4a266af5f4562d23 /actionview/CHANGELOG.md
parenteec4c2e978be15b85ba8f3efa054cb43acf1bdda (diff)
downloadrails-b5edc55d9fc3f6fc87ab06b5897917e051a82aef.tar.gz
rails-b5edc55d9fc3f6fc87ab06b5897917e051a82aef.tar.bz2
rails-b5edc55d9fc3f6fc87ab06b5897917e051a82aef.zip
Allow render locals to be assigned to instance variables
In #26672 we blocked use of Ruby keywords as identifiers for view locals but inadvertently broke the use of instance variable names as identifiers. Whilst not explicitly documented this behavior has been around for a long time and there's no need to break it now. Fixes #27480.
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index 59afed1f98..c12fb2e5ae 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Allow render locals to be assigned to instance variables in a view.
+
+ Fixes #27480.
+
+ *Andrew White*
+
* Add `check_parameters` option to `current_page?` which makes it more strict.
*Maksym Pugach*