On Viernes, 25 de Septiembre de 2009 18:10:24 alexp escribió: > players.* compared to players.name is 9x slower on my app, i just need > to load as per the list columns displayed the data fields for that > table.
You can set the columns you want to load when eager loading is disabled (includes = nil) with select_columns attribute: config.columns[:association_column].includes = nil config.columns[:association_column].select_columns = %w(name) -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
