If you want to hide column named "c" in update form, but display it in list. Just do like this:
active_scaffold do |config| config.columns = [:a, :b, :c] config.update.columns.exclude :c #or you can write this: config.update.columns = [:a, :b] end 2010/11/11 MikeBlyth <[email protected]>: > I want to hide a column on the update view but not on the list view. > It seems css_class is the best way to do that if I can make act > selectively according to the view. Is that possible? > > -- > 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. > > -- 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.
