diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-03 15:36:34 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-03 15:36:34 -0800 |
commit | 3a39de677adaf7e3d4134bab530ba25d21a431d3 (patch) | |
tree | 6db9a93e3835f1fc2c82fb1cd29319108573f204 /activerecord/CHANGELOG.md | |
parent | a664686e47fb8fb2ffa3e512bdbd380face4e577 (diff) | |
parent | 8d98c83bbceb905cd65c487cfa714d2fca92501c (diff) | |
download | rails-3a39de677adaf7e3d4134bab530ba25d21a431d3.tar.gz rails-3a39de677adaf7e3d4134bab530ba25d21a431d3.tar.bz2 rails-3a39de677adaf7e3d4134bab530ba25d21a431d3.zip |
Merge pull request #8734 from jstirk/master-column_writer_to_i_errors
Fix undefined method `to_i' introduced in 3.2.9
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index db8fa303be..49473dc92a 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,6 +1,11 @@ ## Rails 4.0.0 (unreleased) ## -* Rename `update_attributes` to `update`, keep `update_attributes` as an alias for `update` method. +* Fix undefined method `to_i` when calling `new` on a scope that uses an Array. + Fixes #8718, #8734. + + *Jason Stirk* + +* Rename `update_attributes` to `update`, keep `update_attributes` as an alias for `update` method. This is a soft-deprecation for `update_attributes`, although it will still work without any deprecation message in 4.0 is recommended to start using `update` since `update_attributes` will be deprecated and removed in future versions of Rails. |