diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 4bbf5cd3d1..a73a9d5fef 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -881,7 +881,7 @@ module ActiveRecord #:nodoc: # # Post.unscoped.published # Post.published - def unscoped + def unscoped #:nodoc: block_given? ? relation.scoping { yield } : relation end |