Hello! Using rails 2.3.5 and AS, I have

Litter :has_many :cages, and

Cage
has_one :storage_assignment, :as => :item, :conditions => "storage_assignments.item_type = 'Cage'", :dependent => :delete

has_one :storage, :through => :storage_assignment, :as => :item

The storage_assignments-controller contains "config.subform.layout = :custom" to implement my own UI for selecting a storage (=creating a storage_assignment). This works fine when simply creating a new Cage.

When I go and create a new Litter, I can "Create another" Cage in the Cages-subform using a table-ish layout. Unfortunately, this subform does not use my custom UI for creating a Cages' storage-assignment. How can I tell activescaffold to use my custom UI in the storage_assignment column?

cheers,
ben

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