Sorry if this question has been asked/resolved before but I could not
locate it using the search function.

When using Ajax.Request if i use a nested parameters hash, it does not
return what one would expect. I understand that Ajax.Request calls
toQueryString on the hash, so I think that is where the problem is.

For example.


...
parameters : {
 user : {
    first:'first_name',
    last:'last_name'
 }
}
...

You would expect to get something like :
'user[first]=first_name&user[last]=last_name'

but instead get: 'user=%5Bobject%20Object%5D'

Is there anyway to do this as of now or would this be considered an
enhancement?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to