← Graph

Flat Model Structure

concept 2 connections

Default Rails practice of placing every model directly under app/models. Fine for small projects but breaks down at scale (Redmine 17 models, GitLab ~130 top-level models despite 16 folders, Discourse 170 models in zero folders). Makes it impossible for new developers to gauge which models are central vs peripheral. Ivan Nemytchenko identifies it as the first 'counterintuitive' habit to abandon.

category
practice
about
Flat Model Structure concept
First belief Ivan challenges — flat app/models folder.
about
Flat Model Structure concept
Directly addresses the flat-models anti-pattern.

Provenance

Read by
5 extractions