Hi,

We have a large association table and it's slow loading in the parent table
column. Table 'companies' has an association table 'call_cdrs'. In
companies_controller, we have columns[:call_cdrs].includes = nil. However
the rails log still shows the following mysql statement. We also override
the helper to show a string, instead of the list or count. Is there a way to
avoid doing this? Even with index, it takes long to execute.

SELECT count(*) AS count_all FROM `call_cdrs` WHERE (`call_cdrs`.company_id
= XXX)

Thanks,
R

-- 
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