Permalink
Browse files

Fix broken proc syntax for 1.9.3

  • Loading branch information...
arthurnn committed May 10, 2014
1 parent dbb0bd8 commit b769b5fc1405659f8e425e174e26509ba9ea73ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/models/author.rb
@@ -140,7 +140,7 @@ def ratings
has_many :posts_with_default_include, :class_name => 'PostWithDefaultInclude'
has_many :comments_on_posts_with_default_include, :through => :posts_with_default_include, :source => :comments
- has_many :posts_with_signature, -> (record) { where("posts.title LIKE ?", "%by #{record.name.downcase}%") }, class_name: "Post"
+ has_many :posts_with_signature, ->(record) { where("posts.title LIKE ?", "%by #{record.name.downcase}%") }, class_name: "Post"
scope :relation_include_posts, -> { includes(:posts) }
scope :relation_include_tags, -> { includes(:tags) }

0 comments on commit b769b5f

Please sign in to comment.