diff options
Diffstat (limited to 'activerecord/test/models/project.rb')
-rw-r--r-- | activerecord/test/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/project.rb b/activerecord/test/models/project.rb index efe1ce67da..32ce164995 100644 --- a/activerecord/test/models/project.rb +++ b/activerecord/test/models/project.rb @@ -32,7 +32,7 @@ class Project < ActiveRecord::Base def self.all_as_method all end - scope :all_as_scope, {} + scope :all_as_scope, -> { scoped } end class SpecialProject < Project |