I have annoying database fields named "chg_admin" and "chg_time" in a
database I'm using.
I want activescaffold to never display them.
So I put this in application_controller.rb:
ActiveScaffold.set_defaults do |config|
config.ignore_columns = [:chg_admin, :chg_time]
end
It has no effect, even when I stop and restart script/server.
Other things that I put in that block, like
config.theme = :blue
*do* have an effect. So the code is getting executed.
Why won't AS ignore those columns?
--
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.