Skip to content

Instantly share code, notes, and snippets.

View tux89's full-sized avatar
🤧
I may be slow to respond.

Tux89 tux89

🤧
I may be slow to respond.
View GitHub Profile
@tux89
tux89 / rails_model_notes.md
Last active September 1, 2016 04:37 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@tux89
tux89 / rails http status codes
Created October 7, 2025 10:10 — 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