From b243de0db3c2605121e055079854af5090d06374 Mon Sep 17 00:00:00 2001 From: Jack Danger Canty Date: Tue, 6 May 2008 23:39:47 -0700 Subject: doc: disambiguating an example ActiveRecord class --- activerecord/lib/active_record/reflection.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index 811e53c428..50cdcd3e2e 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -179,7 +179,8 @@ module ActiveRecord # Gets the source of the through reflection. It checks both a singularized and pluralized form for :belongs_to or :has_many. # (The :tags association on Tagging below.) # - # class Post + # class Post < ActiveRecord::Base + # has_many :taggings # has_many :tags, :through => :taggings # end # -- cgit v1.2.3