There was a very handy method in activerecord: calling #size on associations
This would work like: if the association had been previously loaded, it would call #size on the array. If not, it would perform an SQL COUNT. As previously discussed, associations are by default arrays. Does the association proxy plugin cover this case? Thx Tiago -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
