Does ADM_NaissanceDate column exists in main active_scaffold_config.columns collection?
If it's a virtual column, column not present in db table, you will need to add to active_scaffold_config.columns too. You may add and exclude if you haven't set your action columns with = (you are using exclude for config.list.columns, config.show.columns or others) El lunes, 18 de abril de 2016 15:14:15 (CEST) Gloufy escribió: > Hi, > > I've got a error when in my custom method > > > > def administratif > > formulaire > > do_edit > > respond_to_action(:edit) > > end > > def formulaire > > active_scaffold_config.update.columns=[] > > active_scaffold_config.update.columns.add_subgroup "Administratif" do > > |name_group| > > name_group.add :ADM_NaissanceDate > > end > > end > > > undefined method `css_class' for :ADM_NaissanceDate:Symbol > > Extracted source (around line *#53*): > > 51 > 52 > 53 > 54 > 55 > 56 > > > formulaire > do_edit > respond_to_action(:edit) > end > > > I don't know why > > Thanks for your help > > Gloufy -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
