From 677f968b771c837ae9bf4d9117372717e1bb6c11 Mon Sep 17 00:00:00 2001 From: Jean-Francois Turcot Date: Thu, 8 Dec 2011 04:03:55 -0500 Subject: Add information to the changelog about the changes to ActionController::ParamsWrapper --- actionpack/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 8844d6e6f6..473115dc6d 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -106,6 +106,11 @@ persistent between requests so if you need to manipulate the environment for your test you need to do it before the cookie jar is created. +* ActionController::ParamsWrapper on ActiveRecord models now only wrap + attr_accessible attributes if they were set, if not, only the attributes + returned by the class method attribute_names will be wrapped. This fixes + the wrapping of nested attributes by adding them to attr_accessible. + ## Rails 3.1.4 (unreleased) ## * Allow to use asset_path on named_routes aliasing RailsHelper's -- cgit v1.2.3