aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2012-06-05 02:35:05 -0400
committerMarc-Andre Lafortune <github@marc-andre.ca>2012-06-06 13:27:51 -0400
commit4faaa811614b408b32422692ce36024442d02ffb (patch)
tree340a1cda35d66d2db76d36ca66fa6a9701b9734e /activerecord/CHANGELOG.md
parent2186540f9160b47e075b9926d12d3a6843e95d31 (diff)
downloadrails-4faaa811614b408b32422692ce36024442d02ffb.tar.gz
rails-4faaa811614b408b32422692ce36024442d02ffb.tar.bz2
rails-4faaa811614b408b32422692ce36024442d02ffb.zip
+ ActiveRecord::Base#destroy!
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index b04c54ce7f..55cc85a63d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Added `#destroy!` which acts like `#destroy` but will raise an
+ `ActiveRecord::RecordNotDestroyed` exception instead of returning `false`.
+
+ *Marc-André Lafortune*
+
* Allow blocks for `count` with `ActiveRecord::Relation`, to work similar as
`Array#count`: