diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-21 10:22:10 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-21 10:22:10 +0200 |
commit | b452e4a39b8a4a8880825cc1868df656ede7d609 (patch) | |
tree | d4cfdbe0fe7b0112be0aeeddd09adc247d85831c /activerecord | |
parent | 1a92f4fb6574100fb9d16cf3f8e395c3a58938d6 (diff) | |
download | rails-b452e4a39b8a4a8880825cc1868df656ede7d609.tar.gz rails-b452e4a39b8a4a8880825cc1868df656ede7d609.tar.bz2 rails-b452e4a39b8a4a8880825cc1868df656ede7d609.zip |
build fix, use lambda syntax that ruby 1.9.3 understands.
Diffstat (limited to 'activerecord')
-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 |