config/initializers/auto_scopes.rb in auto_scopes-0.1.0 vs config/initializers/auto_scopes.rb in auto_scopes-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
# 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|
+AutoScopes.setup do |c|
# c.auto_scopes_location = 'config/auto_scopes'
# c.create_scope_for_association = true
# c.scope_association_prefix = 'by'
end
\ No newline at end of file