Skip to content

Instantly share code, notes, and snippets.

View Marvelxy's full-sized avatar
🎯
Focusing

Marvelous Akpotu Marvelxy

🎯
Focusing
View GitHub Profile
@cjsim89
cjsim89 / rails_7_cheatsheet.md
Last active October 2, 2024 21:47
Rails 7 Cheatsheet

Rails v7.1.2 Cheatsheet

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!

Notes About this Cheatsheet

  • This guide uses Rails version v7.1.2. 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.
@harrietty
harrietty / RAILS_5_CHEATSHEET.md
Last active August 13, 2023 00:36 — forked from mdang/RAILS_CHEATSHEET.md
Ruby on Rails 5 Cheatsheet

Ruby on Rails Cheatsheet (5.1)

Architecture

RVM

$ rvm list - show currently installed Rubies

@mdang
mdang / RAILS_CHEATSHEET.md
Last active November 4, 2024 15:59
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

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

@mlanett
mlanett / rails http status codes
Last active November 4, 2024 18:04
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@rstacruz
rstacruz / index.md
Last active November 3, 2023 09:56
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one