Why this scaffold command not working?

I am trying to generate scaffold as below:

rails generate scaffold name:string seat_seq:string address:text

But it is not working and giving errors. See attached image.

Attachments: http://www.ruby-forum.com/attachment/7690/scaffold_error.png

I am trying to generate scaffold as below:

rails generate scaffold name:string seat_seq:string address:text

But it is not working and giving errors. See attached image.

Attachments: http://www.ruby-forum.com/attachment/7690/scaffold_error.png

That link does not work for me, but I assume this is again because you are using an out of date tutorial. Use an up to date tutorial as I suggested in another thread.

Colin

use this

rails generate scaffold demo name:string seat_seq:string address:text

Cheers,

Sai

By my tests with the URL in the error and a browser you can download the gem with http but you get a warning message for https. See if you can find a setting to not use ssl to download with your ruby. Must be some sources file somewhere.

I use a Mac. Not near my testing environment now though to see what it uses.

You miss the model name man! :frowning: