diff options
author | Marcel Molina <marcel@vernix.org> | 2007-12-05 20:24:41 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2007-12-05 20:24:41 +0000 |
commit | aa9ed408a870bd31e1fcc669d877b8612cae0e08 (patch) | |
tree | 0e2ead75abc197453265cfaa6fe2aae208ff1e39 | |
parent | 632ab246db10bf15939df8d6bfc5f964dd61ef5b (diff) | |
download | rails-aa9ed408a870bd31e1fcc669d877b8612cae0e08.tar.gz rails-aa9ed408a870bd31e1fcc669d877b8612cae0e08.tar.bz2 rails-aa9ed408a870bd31e1fcc669d877b8612cae0e08.zip |
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
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rwxr-xr-x | 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 @@ module ActiveRecord # 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 |