List Info

Thread: request for patch review




request for patch review
user name
2008-01-03 03:54:32
Can somebody review the patch attached to ticket #10480?

  http://dev.ru
byonrails.org/ticket/10480

A has_many through association including the group option
doesn't use
the group when counting. Meaning
person.grouped_relations.count will
return a different value than
person.grouped_relations.length. This
first will construct a query without taking group into
account and the
latter will properly fetch all relations and return the
length of the
result set.

Thanks,
Remco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-coregooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )