@msgs = @post.messages.find(:all, :order => 'foo DESC')
--
You received this message because you are subscribed to the Google
Groups "MongoMapper" group.
For more options, visit this group at
http://groups.google.com/group/mongomapper?hl=en?hl=en
On Jan 15, 2:03 pm, Kyle Banker <k...@10gen.com> wrote:
> Are messages embedded or are they first-class documents? If they're
> embedded, then the sort can only be performed client-side. It's possible
> that MongoMapper handles this, though.
>
> John?
>
On Jan 15, 2:22 pm, John Nunemaker <nunema...@gmail.com> wrote:
> You are on your own with embedded docs for now. Someday this might be built
> in, though it is really just a little bit of ruby.
>