super newbie here, how to post xml REST data?

I have created the simplest rails app using the apple tutorial:
http://developer.apple.com/tools/developonrailsleopard.html.

Ok actually I only got halfway through because I really only wanted to
try out the basic REST services. Long story short I setup a couple
tables and now I'm trying to use POST to create a table entry with an
xml doc. Is that possible with the basic 2 minute setup?

Whenever I curl this: curl --data-urlencode
"<event><name>AlvinBirthday</name><budget>10000</budget></event>"
http://localhost:3000/events.xml

I get a message that it created a record, and it did, it's just blank
entries though.

Any ideas on how to do this?

If you cannot see the problem by code inspection and looking in the
log you could use ruby-debug or other debugging technique to break
into your app in create see what data you have. See the rails guide
on debugging if you don't know how to do this.

Colin