Sha256: 0278c545f95d227287312ac67773e3b3a0410d24d4e2aefc6a5197ec733e5f40

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 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.configure do |c|
	# c.auto_scopes_location         = 'config/auto_scopes'
	# c.create_scope_for_association = true
	# c.scope_association_prefix     = 'by'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auto_scopes-0.1.0 config/initializers/auto_scopes.rb