Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (28 sloc) 0.631 kb

all generators

rails generate

controller
generator
helper
integration_test
mailer
migration
model
observer
performance_test
plugin
resource
scaffold
scaffold_controller
session_migration
stylesheets

scaffolds

creates model/view/controller/test

rails g scaffold User id:integer token:string
rake db:migrate

models

rails g model User id:integer token:string

controllers

creates controller/views/helpers

rails g controller CreditCard open debit credit close

migrations

rails g migration AddPartNumberToProducts part_number:string
Jump to Line
Something went wrong with that request. Please try again.