aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/author.rb
diff options
context:
space:
mode:
authorAndy Atkinson <andyatkinson@gmail.com>2015-10-01 23:42:42 -0500
committerAndy Atkinson <andyatkinson@gmail.com>2015-10-01 23:42:45 -0500
commit73ec5a26a345846df52d547980f738d5442ef949 (patch)
treeb1d700f1bfe2b192f41215217d687243f171ebc4 /activerecord/test/models/author.rb
parentdd57f60de92833e4f934aad07d8dc5acb5fbbe16 (diff)
downloadrails-73ec5a26a345846df52d547980f738d5442ef949.tar.gz
rails-73ec5a26a345846df52d547980f738d5442ef949.tar.bz2
rails-73ec5a26a345846df52d547980f738d5442ef949.zip
Remove unused scopes
Diffstat (limited to 'activerecord/test/models/author.rb')
-rw-r--r--activerecord/test/models/author.rb3
1 files changed, 0 insertions, 3 deletions
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