I'm pretty sure you do this: def cli_outs_show_column(campaign) "Cool" end Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: Iñaki Baz Castillo [email protected] Date: Fri, 28 May 2010 18:43:44 To: <[email protected]> Subject: How to override a column value just for show view Hi, I want/need to define a column helper just valid for the "show" view, so the ourput for list view would remain as if no column helper is defined. Something as: def cli_outs_column(campaign) if action_name == "show" _SOMETHING_ else _DO_NOTHING_AND_SHOW_DEFUALT_VIEW_ end end end Is it possible? Is there something I could set in _DO_NOTHING_AND_SHOW_DEFUALT_VIEW_ to behave as if I've defined no column helper when in "list" view? Thanks. -- Iñaki Baz Castillo <[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. -- 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.
