Updated by: Chris Simmons, based on the 5.2 Cheatsheet by Scott Borecki.
Please reach out if you have any comments or suggestions for updates!
- Rails version v7.0.4. Run
$rails -v
to check your Rails version number. - Code snippets in this cheatsheet starting with
$
: - Run from the terminal, usually within your project directory.