From 7e7d6ccf344d3cb42b836e22e1381269f55b67d2 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sat, 12 Nov 2016 13:14:49 -0500 Subject: Changelog edits --- actionview/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionview') diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 67bd9b5c8f..6e6ce64e72 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -2,12 +2,12 @@ *Rafael Mendonça França* -* Render now accepts any keys for locals, including reserved words +* Render now accepts any keys for locals, including reserved keywords. Only locals with valid variable names get set directly. Others - will still be available in local_assigns. + will still be available in `local_assigns`. - Example of render with reserved words: + Example of render with reserved keywords: ```erb <%= render "example", class: "text-center", message: "Hello world!" %> -- cgit v1.2.3