aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-09 23:24:58 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-09 23:24:58 -0300
commitf55f5e2b6d265764ff8ac23d56f768fda881f88f (patch)
treec6472bbdd102b44c74496d716202e3c47b3719c3
parentdbb0bd8f3a43df9881033136421be4ad219b19b5 (diff)
parentb769b5fc1405659f8e425e174e26509ba9ea73ed (diff)
downloadrails-f55f5e2b6d265764ff8ac23d56f768fda881f88f.tar.gz
rails-f55f5e2b6d265764ff8ac23d56f768fda881f88f.tar.bz2
rails-f55f5e2b6d265764ff8ac23d56f768fda881f88f.zip
Merge pull request #15049 from arthurnn/fix_ci
Fix broken proc syntax for 1.9.3
-rw-r--r--activerecord/test/models/author.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb
index f2463de522..8949cf5826 100644
--- a/activerecord/test/models/author.rb
+++ b/activerecord/test/models/author.rb
@@ -140,7 +140,7 @@ class Author < ActiveRecord::Base
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) }