rails 3: scaffold generator

list of scaffold on rails 3

>rails generate scaffold Post name:string title:string content:text
>rails generate scaffold Account user_name:string description:text
premium:boolean income:integer ranking:float fee:decimal birthday:date
>rails g scaffold Book title:string author:string
>rails g scaffold User name:string age:integer
>rails generate scaffold User name:string email:string
>rails generate scaffold Micropost content:string user_id:integer


>rails generate

as well as

>rails g

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s