aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-03-16 02:10:11 +0000
committerRick Olson <technoweenie@gmail.com>2006-03-16 02:10:11 +0000
commit0859779d6f1cadfec12f1112c80382658466ab7d (patch)
tree1f74aa94a49d8c73340468632d2ef1ecda85e64d /activerecord/CHANGELOG
parentbf39c39d88712905a18b7be64a80ecc008719e34 (diff)
downloadrails-0859779d6f1cadfec12f1112c80382658466ab7d.tar.gz
rails-0859779d6f1cadfec12f1112c80382658466ab7d.tar.bz2
rails-0859779d6f1cadfec12f1112c80382658466ab7d.zip
Allow :dependent options to be used with polymorphic joins. #3820 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 1a2cd15458..0ef11609ee 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,11 @@
*SVN*
+* Allow :dependent options to be used with polymorphic joins. #3820 [Rick Olson]
+
+ class Foo < ActiveRecord::Base
+ has_many :attachments, :as => :attachable, :dependent => :delete_all
+ end
+
* Upgrade to Transaction::Simple 1.3 [Jamis Buck]
* Catch FixtureClassNotFound when using instantiated fixtures on a fixture that has no ActiveRecord model [Rick Olson]