From 73ec5a26a345846df52d547980f738d5442ef949 Mon Sep 17 00:00:00 2001 From: Andy Atkinson Date: Thu, 1 Oct 2015 23:42:42 -0500 Subject: Remove unused scopes --- activerecord/test/models/author.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'activerecord/test/models/author.rb') diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb index 8c1f14bd36..0d90cbb110 100644 --- a/activerecord/test/models/author.rb +++ b/activerecord/test/models/author.rb @@ -144,9 +144,6 @@ class Author < ActiveRecord::Base 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) } - attr_accessor :post_log after_initialize :set_post_log -- cgit v1.2.3