counter_cache works for a first level association but not via through
assocation, in this example it fails,
manager list view displaying players through teams fails, a count of
players is executed
50 rows at 32 ms per count average = 1.6 sec extra time loading page

teams view displaying players the count is recalled from players_count
hence is working, no sql count is executed - 1 ms per load



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to