提交 b452e4a3 编写于 作者: Y Yves Senn

build fix, use lambda syntax that ruby 1.9.3 understands.

上级 1a92f4fb
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册