aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorTobias Lütke <tobias.luetke@gmail.com>2005-10-15 00:46:55 +0000
committerTobias Lütke <tobias.luetke@gmail.com>2005-10-15 00:46:55 +0000
commit70869931611667d5b732ae91704313115e4baa10 (patch)
tree27e1df63f6953b9a8484aaa1859152fa0fb2490e /activerecord/CHANGELOG
parent64fcb752f2c2f337918f74cd0cc6049a4cafb7a6 (diff)
downloadrails-70869931611667d5b732ae91704313115e4baa10.tar.gz
rails-70869931611667d5b732ae91704313115e4baa10.tar.bz2
rails-70869931611667d5b732ae91704313115e4baa10.zip
Adds :nullify option to :depends. Closes #2015 (Robby Russell)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG5
1 files changed, 4 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 9e5d24d9c6..ae9e5668be 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,4 +1,7 @@
-*SVN*
+*SVN*
+=======
+
+* :dependent now accepts :nullify option. Sets the foreign key of the related objects to NULL instead of deleting them. #2015 [Robby Russell <robby@planetargon.com>]
* Introduce read-only records. If you call object.readonly! then it will mark the object as read-only and raise ReadOnlyRecord if you call object.save. object.readonly? reports whether the object is read-only. Passing :readonly => true to any finder method will mark returned records as read-only. The :joins option now implies :readonly, so if you use this option, saving the same record will now fail. Use find_by_sql to work around.