diff options
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/comment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/comment.rb b/activerecord/test/models/comment.rb index 3cb32d9346..d5a1231060 100644 --- a/activerecord/test/models/comment.rb +++ b/activerecord/test/models/comment.rb @@ -42,7 +42,7 @@ class SubSpecialComment < SpecialComment end class VerySpecialComment < Comment - scope :special_parent, -> (special_rating) { where parent_id: special_rating.special_comment.id } + scope :special_parent, ->(special_rating) { where parent_id: special_rating.special_comment.id } end class CommentThatAutomaticallyAltersPostBody < Comment |