aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-04-05 17:01:56 +0000
committerRick Olson <technoweenie@gmail.com>2006-04-05 17:01:56 +0000
commita9fb1544b0e7e6412e4cb64702585024e24276bf (patch)
tree6f9b5c099d3304184c284aa0219add424be6e2b6 /activerecord/CHANGELOG
parent4d232025b7260834dc4a4403b2b9effd043215c4 (diff)
downloadrails-a9fb1544b0e7e6412e4cb64702585024e24276bf.tar.gz
rails-a9fb1544b0e7e6412e4cb64702585024e24276bf.tar.bz2
rails-a9fb1544b0e7e6412e4cb64702585024e24276bf.zip
Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index dc61ab3c31..bd06810c36 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,13 @@
*SVN*
+* Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
+
+ class Post < ActiveRecord::Base
+ has_one :tagging, :as => :taggable
+ end
+
+ Post.find :all, :include => :tagging
+
* Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick]
* Added support for going through a polymorphic has_many association: (closes #4401) [Rick]