RecordSelect needs documentation, google wiki is very very old, I don't remember when :include was changed to be used only for select, or maybe it always was like that.
On Jueves, 13 de diciembre de 2012 00:44:35 Atastor escribió: > Okaaayyyy...perhaps I was to naive; I was hoping that the ":include => ..." > stuff –put into the recordselect config according to the googlewiki– was > sufficient for the recordselect configuration, and that active_scaffold > would pick this up and behave accordingly. > > Overriding with a controller method works like a charm, thanks! I'll put > this in the as-wiki, as the count statements are mostly auto generated by > AS. > > KRM > > Am Mittwoch, 12. Dezember 2012 16:53:46 UTC+1 schrieb Sergio Cambra: > > :include is not used in count query, never was used. You must define > > > > record_select_includes, which is used in both queries, count and select -- 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.
