Displaying 1 result from an estimated 1 matches for "new_discount_attributes".
2011 May 09
0
rails 2.3.5 nested attributes problema
...;'-1''},
{"tour_type_id" => ''7'', "price_number" => ''22.00'', "days" =>
''3''}
]
}
Instead - it''s coming in like this:
Parameters : {:discount_code =>
{"new_discount_attributes" =>[
{"tour_type_id"=>"7"},
{"day"=>"-1", "tour_type_id"=>"8"},
{"day"=>"3", "price_number"=>"22.00"},
{"price_number"=>"8.00"}],
--...