7 August 2013
40+ Resources for Building Robust Rails Applications
So you want to become a better Rails developer and embrace object oriented principles when building Rails applications? While there is no substitute for experience, you have to start somewhere. I have been collecting resources on the subject for some time now and you can find them below.
Please add a comment below if you have anything you’d like us to add to the list.
Free
Articles
- The Secret to Rails OO Design
- Better Ruby Presenters
- Extracting Domain Models: A Practical Example
- Object Oriented Rails - Writing better controllers
- Making ActiveRecord Models Thin
- Stubbing Is Not Enough
- Don’t Make Your Code “More Testable”
- Why you should care about information hiding
- Issue 4.11: Responsibility-centric vs. data-centric design - Practicing Ruby
- Ruby Best Practices- Issue #23: SOLID Design Principles
- 7 Patterns to Refactor Fat ActiveRecord Models
- Your Objects, the Unix Way
- Testing Code in a Rails Initializer
- Why Ruby Class Methods Resist Refactoring
- Ruby Domain / Design Pattern Examples
- Rails On Objects
- Tell, Don’t Ask
- Types of Coupling
- Tidy views and beyond with Decorators
- Crazy, Heretical, and Awesome: The Way I Write Rails Apps
- Every day use of the decorator pattern
- Goodbye, shitty Car extends Vehicle object-orientation tutorial
- OO Design Principles
- David Peterson: Object-Oriented Example
-
[The Pragmatic Bookshelf Tell, Don’t Ask](https://pragprog.com/articles/tell-dont-ask) - Why I Love Everything You Hate About Java
- Misunderstanding the Law of Demeter
- How To Design Classes
- A Responsible Programmer
-
[Alistair.Cockburn.us Hexagonal architecture](https://alistair.cockburn.us/Hexagonal+architecture)
Videos
- GoRuCo 2011 - Sandi Metz - Less - The Path to Better Design
- Why You Don’t Get Mock Objects - Gregory Moeck - Ruby Conference 2011
- SOLID Object-Oriented Design - Sandi Metz - GORUCO 2009
- Go Ahead, Make a Mess - Sandi Metz - Golden Gate Ruby Conference 2012
- Boundaries - Gary Bernhardt - Ruby Conference 2012
Paid
- Objects on Rails
- Destroy All Software Screencasts
- Practical Object-Oriented Design in Ruby
-
[Practicing Ruby A unique journal curated by Gregory Brown](https://practicingruby.com) - Working Effectively with Legacy Code
- Growing Object-Oriented Software Guided by Tests
- Ruby Science: a book by thoughtbot
- Confident Ruby
- Ruby Tapas
Heads up! This article may make reference to the Gaslight team—that's still us! We go by Launch Scout now, this article was just written before we re-introduced ourselves. Find out more here.