Using curl to test Rails routes
your PUT
data should look like this:
user[attribute1]=value1&user[attribute2]=value2
Similar to the way you'd construct parameters on the query string of a URL.
When calling curl, you would have to send your attributes like this: user[name]=John&...Did you do that?