I'm working on an iPhone app and I need to figure out how to properly nest the information in the URL (really a POST body) in order for rails to recognize it as an object hash such as:
Parameters: {:student => {:name => "Bob", :age => "13"}, :user_credentials=>"..."}
I've tried the following two ways and neither work for me:
/student?user_credentials="..."&student={name="bob"&age="13"}
/student?user_credentials="..."&student=[name="bob"&age="13"]
Both of which basically set the Parameters to {student=>"{name=", age=>"13]", :user_credentials=>"..."}
The code works as far as getting the information there in a POST body, I'm just trying to figure out how to format the string properly. I hope that is clear enough.