public
Description: Natural-looking Finder Queries for ActiveRecord
Homepage: http://www.thoughtbot.com/projects/squirrel
Clone URL: git://github.com/thoughtbot/squirrel.git
Reverted last change.
jyurek (author)
Thu Jun 26 13:08:38 -0700 2008
commit  89b6ee959fd06aecdd46a7576639a3f91be99902
tree    7d490b3c43a3557702bc63af23fef4831eeb2a78
parent  d21c08dfb1e89ce657aeeebdaa96bdfdc500b33b
...
322
323
324
325
326
327
328
...
322
323
324
 
325
326
327
0
@@ -322,7 +322,6 @@ module Squirrel
0
         @condition_blocks.inject({}) do |inc, cb|
0
           if cb.reflection.nil?
0
             inc.merge(cb.to_find_include)
0
- inc
0
           else
0
             inc[cb.reflection] ||= {}
0
             inc[cb.reflection] = inc[cb.reflection].merge(cb.to_find_include)

Comments

    No one has commented yet.