Please send log when you load new form and when you click on create another 
cage

On Domingo, 30 de Enero de 2011 15:29:51 Benjamin Adler escribió:
> 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

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

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