I have changed named_scopes_for_collection with beginning_of_chain method (the same name as inherited_resources gem). To use a named scope you only have to override the method in your controller to return the scoped model instead of model: def beginning_of_chain super.my_scope(my_scope_param).another_scope end
I think it's easier to use. Also, scopes will be used in member actions as show, edit and delete, and all actions which use find_if_allowed -- 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.
