RailsCasts Pro episodes are now free!
Learn more or hide this
rake db:create rake db:create:all script/generate model task name:string priority:integer script/generate migration add_description_to_task description:string script/generate migration remove_description_from_task description:string
create_table :tasks do |t| t.string :name t.integer :priority, :position t.timestamps end