aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-05-02 16:48:07 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-05-02 16:48:07 +0000
commitc8bd316754d43f237412de19a8044ef854d1ecba (patch)
treea629497bfc809dc24927b032c52d9848654e5d68 /activerecord
parent24a9050b6e34c859909f4e16ee68b8b34407a771 (diff)
downloadrails-c8bd316754d43f237412de19a8044ef854d1ecba.tar.gz
rails-c8bd316754d43f237412de19a8044ef854d1ecba.tar.bz2
rails-c8bd316754d43f237412de19a8044ef854d1ecba.zip
Changed that destroying an object will only freeze the attributes hash, which keeps the object from having attributes changed (as that wouldn't make sense), but allows for the querying of associations after it has been destroyed.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 7d6a7c9a50..d88bb650ff 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Changed that destroying an object will only freeze the attributes hash, which keeps the object from having attributes changed (as that wouldn't make sense), but allows for the querying of associations after it has been destroyed.
+
* Changed the callbacks such that observers are notified before the in-object callbacks are triggered. Without this change, it wasn't possible to act on the whole object in something like a before_destroy observer without having the objects own callbacks (like deleting associations) called first.
* Added option for passing an array to the find_all version of the dynamic finders and have it evaluated as an IN fragment. Example: