chrisjaff / rails-review

[rails]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails Review

$ git clone https://github.com/ga-wdi-exercises/totally-doable
$ cd totally-doable
$ bundle install
$ rails db:create
Steps completed already ## Initial Setup
$ rails new totally-doable
$ cd totally-doable
$ rails db:create

Database Stuff

$ rails g migration create_todos text completed:boolean
$ rake db:migrate

Create Seeds

# db/seeds.rb

Todo.create([
  {text: 'learn rails', completed: false},
  {text: 'learn javascript', completed: true}
])

Screencasts from a previous review

About

[rails]

License:Creative Commons Zero v1.0 Universal