Sha256: d48f823f257af5b38973688b5929299eff9a8f2a4e721e23288e9a967223917f

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

# auto_scopes_location: where autoscopes must be defined
# 
# create_scope_for_association: in each association the parent model
# a scope with id is create this option set this behavior
# 
# scope_association_prefix: in each association the parent model
# this is the prefix added to them
AutoScopes.setup do |c|
	# c.auto_scopes_location         = 'config/auto_scopes'
	# c.create_scope_for_association = true
	# c.scope_association_prefix     = 'by'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auto_scopes-0.1.2 config/initializers/auto_scopes.rb
auto_scopes-0.1.1 config/initializers/auto_scopes.rb