I'm not sure if this is a bug or something I'm doing wrong.
1. user model has a couple of validates_presence_of and
validates_length_of
2. In Create mode, When I put in data, and press submit that causes a
validation failure, I get a web page back that is only a div.
3. In Update Mode, the current version creates the appropriate errors
box and allows me to continue editing.
I'm assuming the div is supposed to go in place of part of the page.
But I can't see what to do to fix this.
thanks for your help.
active_scaffold :users do |config|
config.label = "Users"
config.list.columns = [:login, :email, :manager_flag, :all_roles]
config.update.columns = [:login, :email, :manager_flag, :roles]
config.create.columns = [:login, :email, :manager_flag, :roles]
config.columns[:roles].ui_type = :select
config.actions.exclude :show, :search
list.columns.exclude :comments
list.sorting = {:login => 'ASC'}
config.list.per_page = 40
config.columns[:manager_flag].form_ui = :checkbox
end
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---