Skip to content

Instantly share code, notes, and snippets.

View Marvelxy's full-sized avatar
🎯
Focusing

Marvelous Akpotu Marvelxy

🎯
Focusing
View GitHub Profile
@Marvelxy
Marvelxy / rails_7_cheatsheet.md
Created August 13, 2023 00:37 — forked from cjsim89/rails_7_cheatsheet.md
Rails 7 Cheatsheet

Rails v7.0.4 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

  • 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.
@Marvelxy
Marvelxy / rails http status codes
Created March 20, 2020 07:05 — forked from mlanett/rails http status codes
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
@Marvelxy
Marvelxy / index.md
Created February 9, 2016 16:57 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@Marvelxy
Marvelxy / sublime-text-3-build-3065-license.md
Created November 27, 2015 09:18
Sublime Text 3 (build 3065+) - VALID License

SublimeText3 Valid License without cracking! Just download/install then use this license.

Notice that it may not work on dev builds, but still works on 3083 build!

----- BEGIN LICENSE -----

Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F