You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
I have been pretty frustrated with the inconsistencies of AR's #count method. In my humble opinion, the count method should always return an integer. The "grouped count" functionality is powerful but should not be lumped in with the main #count method. This is further seen by the inconsistency on the #size method where in the result is either the result of #count if unloaded or #length of the results when loaded. I plan as proposing this as a PR, but thought to first start it as a discussion in the google group. Please share your opinions on my proposal.
Cheers,
Jason Waldrip
CTO @ Brandfolder.com
Allen
unread,
Jun 10, 2015, 3:54:36 AM6/10/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
What's inconsistent about it? it should run a SQL query for the count.