Method: ActiveRecord::Scoping::ClassMethods#current_scope=
- Defined in:
- activerecord/lib/active_record/scoping.rb
#current_scope=(scope) ⇒ Object
30 31 32 |
# File 'activerecord/lib/active_record/scoping.rb', line 30 def current_scope=(scope) ScopeRegistry.set_current_scope(self, scope) end |