aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-06-01 01:12:07 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-06-01 01:52:20 +0900
commit262ef5df706dcfaa8770108acbc178db32e3ae88 (patch)
treef975cad2fdddfe5d33e286facf2e6430375ec93a /activerecord/test/models
parent7c800fe5e338540ef195f071a7f3604ed4197f3f (diff)
downloadrails-262ef5df706dcfaa8770108acbc178db32e3ae88.tar.gz
rails-262ef5df706dcfaa8770108acbc178db32e3ae88.tar.bz2
rails-262ef5df706dcfaa8770108acbc178db32e3ae88.zip
Add missing `delegate :extending, to: :all`
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/comment.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/models/comment.rb b/activerecord/test/models/comment.rb
index 8cba788598..d227f6fe86 100644
--- a/activerecord/test/models/comment.rb
+++ b/activerecord/test/models/comment.rb
@@ -29,6 +29,8 @@ class Comment < ActiveRecord::Base
default_scope { extending OopsExtension }
+ scope :oops_comments, -> { extending OopsExtension }
+
# Should not be called if extending modules that having the method exists on an association.
def self.greeting
raise