On Lunes, 5 de Abril de 2010 19:15:44 [email protected] escribió: > Hi everyone, > > I have a scaffold with a list of customers. Each one has a status. I > have a status_controller and when I go to statuses I can click the > list of customers in each status and edit them, which is great. The > only problem I have is that when I edit, the status dropdown doesn't > appear so I can't change what status they belong to, while looking at > the customers by status. Is there a config option to explicitly add > this in? I haven't been able find anything in the API docs or on the > group.
The field is not shown because is a constraint and constraints are removed from fields. You can add a skip_before_filter for register_constraints_with_action_columns for edit and update actions, but you must put it after active_scaffold_block. skip_before_filter :register_constraints_with_action_columns, :only => [:edit, :update] -- 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.
