diff options
Diffstat (limited to 'activerecord/test/fixtures/topic.rb')
-rwxr-xr-x | activerecord/test/fixtures/topic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/topic.rb b/activerecord/test/fixtures/topic.rb index 4c46122450..1941080ec7 100755 --- a/activerecord/test/fixtures/topic.rb +++ b/activerecord/test/fixtures/topic.rb @@ -6,7 +6,7 @@ class Topic < ActiveRecord::Base before_destroy :destroy_children def parent - self.class.find(parent_id) + Topic.find(parent_id) end protected |