What is the right way to dynamically change the list and update
columns in a :before_filter:

- active_scaffold_config.list/update.columns.add :a, :b...
and .exclude :c,:d...  This causes the column to appear in the wrong
order.

- active_scaffold_config.config.columns =  [:a... AND
config.update.columns = [:b... This doesn't work

- active_scaffold_config.columns[:a].weight = 0 after setting all
other fields to .weight = 1  This doesn't work

- Combinations of the above don't work.

-- 
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.


Reply via email to