From aa9ed408a870bd31e1fcc669d877b8612cae0e08 Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Wed, 5 Dec 2007 20:24:41 +0000 Subject: [PATCH] Fix typo in documentation for polymorphic associations w/STI. Closes #7461 [johnjosephbachir] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 2 ++ activerecord/lib/active_record/associations.rb | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index d7277a39ec..6190fe1c0f 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix typo in documentation for polymorphic associations w/STI. Closes #7461 [johnjosephbachir] + * Reveal that the type option in migrations can be any supported column type for your database but also include caveat about agnosticism. Closes #7531 [adamwiggins, mikong] * More complete documentation for find_by_sql. Closes #7912 [fearoffish] diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 16cc4773cd..434612fdc0 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -415,10 +415,10 @@ def clear_association_cache #:nodoc: # has_many :assets, :as => :attachable, :dependent => :destroy # end # - # class GuestPost < ActiveRecord::Base + # class GuestPost < Post # end # - # class MemberPost < ActiveRecord::Base + # class MemberPost < Post # end # # == Caching -- GitLab