Skip to content

Instantly share code, notes, and snippets.

Avatar
🔎
🔬 🕺 🔒 🌎 👾

Gerry gerrywastaken

🔎
🔬 🕺 🔒 🌎 👾
View GitHub Profile
@gerrywastaken
gerrywastaken / doom.org
Last active Jun 13, 2021 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet (org-mode file)
View doom.org

SPC

SPC: find file , switch buffer . browse files

MX

; EX < switch buffer ` eval u universal arg x pop up scratch

View gist:2c59bb5602e5a41b0dba
require "delegate"
class CollectionProxy
def products
@products ||= HasManyAssociation.new([])
@products.associated_class ||= Product
@products
end
end