Method: ActiveRecord::Scoping::ClassMethods#global_current_scope=
- Defined in:
- activerecord/lib/active_record/scoping.rb
#global_current_scope=(scope) ⇒ Object
38 39 40 |
# File 'activerecord/lib/active_record/scoping.rb', line 38 def global_current_scope=(scope) ScopeRegistry.set_global_current_scope(self, scope) end |