binarylogic / searchlogic

Searchlogic provides object based searching, common named scopes, and other useful tools.
http://rdoc.info/projects/binarylogic/searchlogic
MIT License
1.4k stars 133 forks source link

remove arity == 0 check so that chained scopes aren't cached #162

Closed szTheory closed 11 years ago

szTheory commented 11 years ago

remove arity == 0 check so that chained scopes aren't cached (https://rails.lighthouseapp.com/projects/8994/tickets/4960-scopes-cached-in-production-mode#ticket-4960-6)