scaffolding a RESTful web service (rails2.1)

Hi All

I'm trying to build a RESTful web-service. Everywhere it is suggested to
do

./script/generate scaffold_resource .....

but that doesn't work anymore. I think it has todo with the rails
version (2.1)

Any suggestion how to do this in rails 2.1 ?

Thnx a lot
LuCa

Just use “./script/generate scaffold …”

Thanks!

Matt Darby**, M.S.**

Rails | PHP | Linux | MySQL | IT

Email: matt@matt-darby.com

Skype: matt-darby

Web: http://blog.matt-darby.com

I was just reading:

When Rails 2.0 performs scaffolding it assumes you are going to use
RESTfull routing .....

Some links to ActiveResource documentation would we useful!

thnx
LuCa

Maybe you're looking for this:

http://api.rubyonrails.org/classes/ActionController/Resources.html#M000697

-JNS.