I have a members and a projects table. They are associated via a
:through. I want to find out how many members are interested in a
project. All I could come up with was:
a = Project.find(:first, :include => :members, :conditions =>
Actually, the problem is more complex than this simple example. I want
find count of members interested in a specific project grouped by date
filtered by a specific date range.
Is there a calculations magical way to do this or is it strictly
View this message in context:
Sent from the RubyOnRails Users mailing list archive at Nabble.com.