On Viernes, 4 de Diciembre de 2009 20:36:00 Fiend escribió: > Hello All! > > Perhaps solely a Rails question: > > I am trying to get a specific instance of a controller in /app/ > controllers from within /vendor/plugins directory. > > Please see: http://pastie.org/727916 > > In the _export_csv.rhtml file, I want to access the same instance of > FooController as was done in the ActiveScaffold::Actions module. How > can this be done? >
controller in a view will return the current controller, anyway a view is not the best place to filter records, you should modify export action to use conditions from live search when it gets the records -- 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.
