search for: deliverymethods

Displaying 1 result from an estimated 1 matches for "deliverymethods".

Did you mean: delivery_methods
2006 Feb 04
1
Error when using form helper and child objects
Hi, This is one problem that has gotten me stumped for quite a while. I have an Item that has_many :DeliveryMethod, and what I seek to achieve is to create a form that''d let me create an Item, as well as its DeliveryMethods in 1 single form. And so I tried something like: <%= text_field_tag ''Item[DeliveryMethod][price]'', @Item.DeliveryMethod ? @Item.DeliveryMethod.price : nil %> But I''ve received an application error `@auction[DeliveryMethod][price]'' is not allowed as an...