In my previous project all worked OK. Now I have two models
TeachingPlace ---< ChargeCard and TeachingPlacesController has a
nested link for nested charge cards. The aim is to give ability to an
user to rebind charge cards from one teaching place to another on
charge card update. So the config is:

class DeptHead::ChargeCardsController < DeptHead::BaseController
  active_scaffold do |config|
    config.columns = [:teaching_place, :discipline, :jets,
:lesson_type, :hours_quantity, :groups]
    config.create.columns.exclude :groups
    config.update.columns = [:teaching_place, :discipline, :jets,
:lesson_type, :hours_quantity]
    config.list.columns.exclude :jets
    config.show.columns.exclude :jets
    config.columns[:discipline].form_ui = :record_select
    config.columns[:lesson_type].form_ui = :select
    config.columns[:teaching_place].form_ui = :record_select
    config.columns[:discipline].clear_link
    config.columns[:groups].clear_link
  end
end

but :teaching_place column does not appear in update form and there is
no errors in logs.

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