El Thursday 12 February 2009 02:12:48 rvhi escribió: > Hi, > > Is there a way to make a system wide change to have all boolean > columns using check_box? I can change each column's form_ui to > check_box. But that's a lot of work and has to be done on each boolean > column. > > I may change it in helpers/form_column_helpers.rb, but doubt that's a > good idea. Any override?
You can override in a helper included in all controllers, such as ApplicationHelper, active_scaffold_input_boolean, for example: alias_method :active_scaffold_input_boolean, :active_scaffold_input_checkbox -- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 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 -~----------~----~----~----~------~----~------~--~---
