Delegate more methods to plucky [Fixes #379, #266] #387

merged 2 commits into from Mar 30, 2012
Commits on Feb 11, 2012
  1. @brianhempel

    Delegate :distinct, :size, :reverse, :offset, :order, :empty?, :filte…

    brianhempel committed Feb 11, 2012
    …r, :find_one, :per_page, :ignore, :only to the query.
    A few user problems are fixed by this. To honor unpersisted documents, the methods without arguments (:size and :empty?) need to hit the loaded association array in the ManyDocumentsProxy instead of going to the database...tests updated to reflect this.
  2. @brianhempel