For some reason if I use joins_for_collection, AS does not use :includes anymore. Everything seems to be working now except that I get duplicate entries. Is there a way to get unique results in AS?
On Sep 10, 7:09 pm, Gerald <[email protected]> wrote: > I did this but it throws the same error about the missing column. I > have both active_scaffold_joins and joins_for_collection defined. Does > this cause a conflict in any way? > > On Sep 8, 11:43 pm, "Sergio Cambra .:: entreCables S.L. ::." > > > > <[email protected]> wrote: > > On Martes, 8 de Septiembre de 2009 17:18:16 Gerald escribió: > > > > Is it possible to add joins( as in the :joins option in find) to the > > > activescaffold query? > > > Try defining a method named joins_for_collection > > > > Thanks. > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---
