From a9fb1544b0e7e6412e4cb64702585024e24276bf Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Wed, 5 Apr 2006 17:01:56 +0000 Subject: 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 --- activerecord/CHANGELOG | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'activerecord/CHANGELOG') 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] -- cgit v1.2.3