Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Ensure that all plucky methods are correctly delegated #266

jnunemaker opened this Issue May 3, 2011 · 4 comments


None yet
3 participants

jnunemaker commented May 3, 2011

order and a few others were missed. Mostly a note to self to throw these in...

  PluckyMethods = [
    :where, :filter, :limit, :skip, :offset, :sort, :order,
    :fields, :ignore, :only,
    :each, :find_each,
    :count, :size, :distinct,
    :last, :first, :all, :paginate,
    :exists?, :exist?, :empty?,
    :to_a, :remove,

@ghost ghost assigned jnunemaker May 3, 2011


bkimble commented May 4, 2011

Delegated to the Array that represents embedded collections? That's an issue I am running in to right now -- using order ( and paginate) on an embedded collection and getting "Undefined Method 'order' for Array". If this is the solution I could probably cook up a workaround.


jnunemaker commented May 4, 2011

Plucky is not made for use with embedded documents. Embedded documents are just plain old arrays and hashes.

bkeepers added a commit that referenced this issue Mar 30, 2012


jnunemaker commented Apr 22, 2012

With the latest plucky update we can now use Plucky::Methods


brianhempel commented Apr 22, 2012

Locally, I have MM working with Plucky::Methods against plucky head. Need another plucky version bump b/c of my mistake described in mongomapper/plucky@010fef5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment