here's an example of the scaffold command for ruby 2.0 you need to list all the editable fields in 2.0 This will create CRUD views (a gui to insert update and delete within your database table)
C:\rails_apps\mrs_roboto>ruby script/generate scaffold user username:string password:string first_name:string last_name:string
NOTE user in this case is the singular form of users and users is actually the name of the table You need to put the singular form for use with the scaffolding command
Comments
the command is different for Rails 2.0
here's an example of the scaffold command for ruby 2.0 you need to list all the editable fields in 2.0 This will create CRUD views (a gui to insert update and delete within your database table)
C:\rails_apps\mrs_roboto>ruby script/generate scaffold user username:string password:string first_name:string last_name:string
NOTE user in this case is the singular form of users and users is actually the name of the table You need to put the singular form for use with the scaffolding command