Skip to content

Instantly share code, notes, and snippets.

# useful for running ssl server on localhost
# which in turn is useful for working with WebSocket Secure (wss)
# copied from http://www.piware.de/2011/01/creating-an-https-server-in-python/
@ImpostorKeanu
ImpostorKeanu / index.md
Created January 1, 2016 15:04 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one