README.md in auto_scopes-0.1.0 vs README.md in auto_scopes-0.1.1

- old
+ new

@@ -1,7 +1,8 @@ # AutoScopes [![Build Status](https://travis-ci.org/victor95pc/auto-scopes.svg?branch=master)](https://travis-ci.org/victor95pc/auto-scopes) +[![Dependency Status](https://gemnasium.com/victor95pc/auto-scopes.svg)](https://gemnasium.com/victor95pc/auto-scopes) Recycle already defined scopes on multiple models whatever the association are, making your models way more DRYer I always wonder if it is possible to reuse some scopes defined in a deep associations, we all know that is possible using merges but it still not a clean solution, I still need to define new scopes and make joins so Rails can know which model I want, so I started to develop this gem, the idea is easy to follow, put all scopes you want inside a YAML file. @@ -101,10 +102,10 @@ ``` If you dont want this behavior you can set the option create_scope_for_association to false ```ruby # config/initializers/auto_scopes.rb -AutoScopes.configure do |c| +AutoScopes.setup do |c| c.create_scope_for_association = false end ``` ## Contributing \ No newline at end of file