diff options
author | Yves Senn <yves.senn@garaio.com> | 2012-11-21 09:48:48 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@garaio.com> | 2012-11-22 08:58:00 +0100 |
commit | 053bfa2304517fd2eb4e8e7dcb4eb9897f121271 (patch) | |
tree | b95f4ac2bb19b24eae1dc7abe722146cbfffbdf1 /activerecord/CHANGELOG.md | |
parent | 293c121feeb93544c1f9594bd1bee3ce046301d5 (diff) | |
download | rails-053bfa2304517fd2eb4e8e7dcb4eb9897f121271.tar.gz rails-053bfa2304517fd2eb4e8e7dcb4eb9897f121271.tar.bz2 rails-053bfa2304517fd2eb4e8e7dcb4eb9897f121271.zip |
prevent mass assignment of polymorphic type when using `build`
Closes #8265
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 f166d73801..2b58276461 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Prevent mass assignment to the type column of polymorphic associations when using `build` + Fix #8265 + + *Yves Senn* + * Fix postgresql adapter to handle BC timestamps correctly HistoryEvent.create!(:name => "something", :occured_at => Date.new(0) - 5.years) |