Module: ScopesForAssociations

Defined in:
lib/scopes_for_associations.rb,
lib/scopes_for_associations/version.rb

Constant Summary collapse

VERSION =
"0.1.5"

Instance Method Summary collapse

Instance Method Details

#scopes_for_associationsObject



5
6
7
8
9
# File 'lib/scopes_for_associations.rb', line 5

def scopes_for_associations()
  define_scopes_for_non_polymorpic_belongs_to_associations
  define_scopes_for_polymorpic_belongs_to_associations
  define_named_scope_for
end