diff options
author | Dave Yeu <daveyeu@gmail.com> | 2012-04-29 22:38:32 -0400 |
---|---|---|
committer | Dave Yeu <daveyeu@gmail.com> | 2012-08-11 21:54:00 -0400 |
commit | a4801a792a1e47d7f156c6646f662232c46eefa2 (patch) | |
tree | 2b8a504e0c4ce822a3432f56b318113a1e7599aa /activerecord/CHANGELOG.md | |
parent | a513cc1862cc61fd9605352a58c5e36cc40cb574 (diff) | |
download | rails-a4801a792a1e47d7f156c6646f662232c46eefa2.tar.gz rails-a4801a792a1e47d7f156c6646f662232c46eefa2.tar.bz2 rails-a4801a792a1e47d7f156c6646f662232c46eefa2.zip |
Restore state on create when ActiveRecord::RecordInvalid is raised
This fixes issue #3217.
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 fc3f754b9f..7a549397a0 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Fix AR#create to return an unsaved record when AR::RecordInvalid is + raised. Fixes #3217. + + *Dave Yeu* + * Fixed table name prefix that is generated in engines for namespaced models *Wojciech Wnętrzak* |