Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Last active July 25, 2016 09:20
Show Gist options
  • Select an option

  • Save jendiamond/03ba9b4681b8933267d9fd6ffbd3f88a to your computer and use it in GitHub Desktop.

Select an option

Save jendiamond/03ba9b4681b8933267d9fd6ffbd3f88a to your computer and use it in GitHub Desktop.

$ rails _5.0.0_ new railsgirls_signup --database=postgresql

$ rake db:create

$ rails generate scaffold User first_name:string last_name:string email:string twitter_handle:string phone:string zipcode:string twitter_handle:string over_21:boolean age:integer operating_system:string rating:string coach:string workshop:datetime accepted:boolean tutorial_progress:string

$ rake db:migrate

Add testing and debugging gems:

$ bundle $ rails generate rspec:install

Load and launch SimpleCov at the very top of your spec_helper.rb

require 'simplecov'
SimpleCov.start

future:
Add deadline field

https://gist.github.com/jendiamond/f6432d1a102b2ca6a429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment