Skip to content

Instantly share code, notes, and snippets.

@brisag
brisag / RAILS_CHEATSHEET.md
Created September 14, 2021 15:20 — forked from mdang/RAILS_CHEATSHEET.md
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

Install the Rails gem if you haven't done so before

Rails Database Development Checklist

Warning: This checklist does not rely on TDD to build up the rails app. It uses some MVC code snippets, so make sure to replace them with names you use on your project. Most references are from

https://backend.turing.io/module2/misc/blogger
https://github.com/turingschool-examples/task_manager_rails
  1. Create Rails Application
  • From the command line, start a new rails app. For example,
    rails new project_name -T -d="postgresql" --skip-spring --skip-turbolinks