Restful create URL

sgallo1
2010-03-23T02:29:16Z

I''m creating and api.
I create a scaffold

script/generate scaffold user

I have users controller, but how do I call the create method via a URL

ie...localhost:3000/users/create.xml?params

new doesn''t work as it returns the empty user object in XML as it
should,
but when I call create
localhost:3000/users/create.xml?params
I get the below error

"Couldn''t find User with ID=create"


I get that is has to do with the routing, but I don''t want to call
create with and ID as I don''t know what it is going to be.

Any help is apperciated.

Cheers,
SG

--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at