Skip to content

Instantly share code, notes, and snippets.

@ivanyv
ivanyv / ARCH.md
Last active November 14, 2016 21:43
Exploring a monolith Rails architecture based on "domains" (which I call "modules")

Architecture

Modules

The app is organized into "modules" (not Ruby modules), like "Core", "Admin", "Directory", etc.

Each module contains models, controllers, and every other related class.

When I say "modules", I'm actually talking about domains, so why call them modules? I'm actually torn on this as I like how "modules" fits much better. But I also know

@ivanyv
ivanyv / dnsmasq OS X.md
Created February 27, 2018 02:48 — forked from ogrrd/dnsmasq OS X.md
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.

Requirements

Install