diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-22 06:47:44 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-22 06:47:44 -0800 |
commit | 83e71051258b98bd5c4df80b321c7b690ddcab35 (patch) | |
tree | c40be8c2333aaba0928e41407e0fd2ac0442809c /activerecord/CHANGELOG.md | |
parent | 4e00e8e91637e117f702ec277a5db1fd087cb347 (diff) | |
parent | d397a38c0268e61295e23f617e9bf70d905ea610 (diff) | |
download | rails-83e71051258b98bd5c4df80b321c7b690ddcab35.tar.gz rails-83e71051258b98bd5c4df80b321c7b690ddcab35.tar.bz2 rails-83e71051258b98bd5c4df80b321c7b690ddcab35.zip |
Merge pull request #8295 from senny/8265_backport
backport #8291, prevent mass assignment of polymorphic type with `build`
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 2de834ff34..78346d8586 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 3.2.10 (unreleased) +* Prevent mass assignment to the type column of polymorphic associations when using `build` [Backport #8291] + Fix #8265 + + *Yves Senn* + * When running migrations on Postgresql, the `:limit` option for `binary` and `text` columns is silently dropped. Previously, these migrations caused sql exceptions, because Postgresql doesn't support limits on these types. |