> I'm currently adding the counter_cache gem to a project. I've realized
> that the <count> tag calls the methods "length" and "count". These
> methods allways query the database.
> 
> IMHO, the "count" tag should call "size" instead of lenght and count,
> in order to take advantage of  counter_cache's counter.

Yes we should definitely do this if that's right about hitting the DB

Tom

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to