Skip to content

Instantly share code, notes, and snippets.

@jacqui
Created July 27, 2013 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacqui/6093737 to your computer and use it in GitHub Desktop.
Save jacqui/6093737 to your computer and use it in GitHub Desktop.
If you have an OO background - or have read Sandy Metz’ book [link] - you’ll notice something about this conventional Rails code. Not only is it a huge mess of dependencies, it violates damn near every part of SOLID object-oriented design [link to http://en.m.wikipedia.org/wiki/SOLID_(object-oriented_design)] that we practice as a means of keeping our code nimble.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment