diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-11-09 15:21:05 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-11-09 15:31:00 +0000 |
commit | 42cfacfe81b20b454f0d915beb934e62618c38a6 (patch) | |
tree | 5a67fe241a73d8bafe89ababe7abe4fda56562f8 /actionpack/test/dispatch/request/multipart_params_parsing_test.rb | |
parent | e56b8900f9b7704db8a01f5c54ee48f5935f406f (diff) | |
download | rails-42cfacfe81b20b454f0d915beb934e62618c38a6.tar.gz rails-42cfacfe81b20b454f0d915beb934e62618c38a6.tar.bz2 rails-42cfacfe81b20b454f0d915beb934e62618c38a6.zip |
Gracefully handle upgrading apps with mass assigment configs
Most apps upgrading from 3.x will have options for mass assigment in
their application.rb and environments/*.rb config files. Rather than
just raising a NoMethodError when copying the config, this commit
adds a warning message until either the protected_attributes gem
is installed or the relevant config options are removed.
Diffstat (limited to 'actionpack/test/dispatch/request/multipart_params_parsing_test.rb')
0 files changed, 0 insertions, 0 deletions