It's fixed for size when both Collection and Model use Array#size
underneath.

It also fixes size for a find_by_sql query (the find_by_sql query is
really a second-class citizen
because it does not have any support for chaining or aggregates).

-Gary

On Dec 9, 1:03 pm, "Dan Kubb (dkubb)" <[EMAIL PROTECTED]> wrote:
> Gary,
>
> > With dm-aggregates, size does not produce the expected answer with a query
> > containing limit.
>
> I just updated dm-aggregates on edge to use Array#size underneath,
> like before.  Can you give it a try in sam/dm-more and see if it fixes
> your problem?
>
> Dan
> (dkubb)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to