Method: ActiveRecord::Scoping::ClassMethods#scope_attributes
- Defined in:
- activerecord/lib/active_record/scoping.rb
#scope_attributes ⇒ Object
Collects attributes from scopes that should be applied when creating an AR instance for the particular class this is called on.
17 18 19 |
# File 'activerecord/lib/active_record/scoping.rb', line 17 def scope_attributes all.scope_for_create end |