Displaying 2 results from an estimated 2 matches for "variation_id".
Did you mean:
aviation_id
2006 Feb 27
1
Nested hash from form params into create()?
...ke I''m close to doing the
right thing but I think something very small is not quite right. The
error at the below isn''t giving any hints that I understand.
I have a form that produces a nested params hash and sends it to my
add_to_cart controller method. Params contains a product variation_id
and a list of chosen options (eg. color, size, etc).
Any help greatly appreciated.
Thanks,
Peter
params =
{
"commit"=>"Add To Cart",
"variation_id"=>"1",
"cart_item_options"=>{"6"=>{"option_id"=>"74...
2006 Apr 16
5
render :collection and default value
Hi all,
I am having a lot of trouble to get the default value of text fields
when they are generated by a partial from a collection.
I have been on this for a whole week and I didnt find a single exemple
on the internet of someone using a partial that generate text field with
a default value.
I cant believe that I am the only one having this problem. Anyone has an
exemple they can show me?