Module: ActiveManageable::Methods::Auxiliary::Scopes

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_manageable/methods/auxiliary/scopes.rb

Instance Method Summary collapse

Instance Method Details

#default_scopesObject

Returns the default scopes in a hash of hashes with the key containing the scope name and value containing an array of scope arguments.

For example:- [], electronic: [], released_in_year: [“1980”]



28
29
30
# File 'lib/active_manageable/methods/auxiliary/scopes.rb', line 28

def default_scopes
  get_scopes
end