aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-05-21 10:22:10 +0200
committerYves Senn <yves.senn@gmail.com>2014-05-21 10:22:10 +0200
commitb452e4a39b8a4a8880825cc1868df656ede7d609 (patch)
treed4cfdbe0fe7b0112be0aeeddd09adc247d85831c /activerecord/test/models
parent1a92f4fb6574100fb9d16cf3f8e395c3a58938d6 (diff)
downloadrails-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/test/models')
-rw-r--r--activerecord/test/models/comment.rb2
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