diff options
Diffstat (limited to 'activerecord/test/models')
-rwxr-xr-x | activerecord/test/models/topic.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/activerecord/test/models/topic.rb b/activerecord/test/models/topic.rb index 0ef7be97d3..d2503b78df 100755 --- a/activerecord/test/models/topic.rb +++ b/activerecord/test/models/topic.rb @@ -26,7 +26,7 @@ class Topic < ActiveRecord::Base end named_scope :named_extension, :extend => NamedExtension named_scope :multiple_extensions, :extend => [MultipleExtensionTwo, MultipleExtensionOne] - + has_many :replies, :dependent => :destroy, :foreign_key => "parent_id" serialize :content @@ -42,7 +42,6 @@ class Topic < ActiveRecord::Base id end - protected def approved=(val) @custom_approved = val @@ -62,4 +61,4 @@ class Topic < ActiveRecord::Base self.author_email_address = 'test@test.com' end end -end
\ No newline at end of file +end |