Method: ActiveRecord::Scoping::ClassMethods#scope_attributes?

Defined in:
activerecord/lib/active_record/scoping.rb

#scope_attributes?Boolean

Are there attributes associated with this scope?

Returns:

  • (Boolean)


22
23
24
# File 'activerecord/lib/active_record/scoping.rb', line 22

def scope_attributes?
  current_scope
end