Skip to content

Instantly share code, notes, and snippets.

Rails_new:

  • rails new project_name -T(no minitest) -d="postgresql" --skip-spring --skip-turbolinks
    • Add rspec-rails, capybara, databasecleaner, and launchy to test gems.
    • Uncomment bcrypt
  • rails g rspec:install
  • Add rails_helper to .rspec
  • What are my features?
  • Build out schema
    • What are my resources?
  • How do they relate?