hi,
I just try to deal with multiples model in one form,
using ajax to add models. but got a weird params hash.
got:
:master_model => {
:sub_model => [
{ :field_1 => "1" },
{ :field_1 => "2", :field_2 => "3" },
{ :field_2 => "4" }
]
}
instead of :
:master_model => {
:sub_model => [
{ :field_1 => "1" :field_2 => "3" },
{ :field_1 => "2", :field_2 => "4" }
]
}
anybody can help me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---