
Where developers level up through deep technical content on Ruby on Rails, software architecture, and backend development. Interactive quizzes included.
Joined July 2024
- Tweets36
- Following7
- Followers18
- Likes0
Why business logic in a growing Rails application bounces between fat controllers and fat models, and how service objects and layered architecture give it a home.
develclan.com/when-rails-con…
4
Callbacks, concerns, and Current keep code close to the model, but can hide effects and dependencies. When to use them and how to make those dependencies explicit.
develclan.com/callbacks-conc…
21
A conditional that keeps growing is a design problem, not a style problem. How to turn each branch into an object, one green step at a time.
develclan.com/from-condition…
12
Three rules turn duplication into abstractions through tiny steps, and catch false abstractions before they ever reach the code.
develclan.com/refactoring-co…
1
11
Creating objects is a responsibility too. What problem a factory actually solves, how the Simple Factory differs from the GoF's Factory Method, and how Ruby simplifies both because classes are objects.
develclan.com/factory-method…
2
Faced with a new problem, the elegant solution is almost always premature. Why simple code that passes the tests is the best starting point, and how to get there with TDD.
develclan.com/start-with-ugl…
8
How to write Ruby tests that survive refactoring: what to test, what to ignore, and how to keep doubles from going stale.
develclan.com/tests-that-sur…
8
Building complex objects in Ruby with composition and modules as roles, and knowing when each one beats inheritance for your design.
develclan.com/composition-bu…
1
137
When to reach for duck typing and when for inheritance in Ruby. Template Method, hook messages, and the signals that point to a hidden abstraction.
develclan.com/duck-typing-in…
10
Shift the focus from classes to conversations: sequence diagrams, stable interfaces, the Law of Demeter, and practical decoupling techniques in Ruby.
develclan.com/messages-befor…
13
Learn how to implement the Singleton pattern in Ruby: built-in module, manual approach, thread safety, the class variable trap, and dependency injection.
develclan.com/singleton-patt…
1
17
Explore the philosophy behind software design: preserving changeability, measuring code friction, and balancing technical debt with over-engineering.
develclan.com/cost-change-so…
211
The Dependency Inversion Principle in Ruby: what it really means, when to use dependency injection, and when to keep your code simple.
develclan.com/dependency-inv…
How to apply the Interface Segregation Principle in Ruby, and why taking it too far can hurt your design. Practical examples and trade-offs.
develclan.com/interface-segr…
Master the Liskov Substitution Principle in Ruby. Learn to spot structural violations, handle duck typing, and write better object-oriented code.
develclan.com/liskov-substit…
Explore the Open-Closed Principle in Ruby through practical examples using inheritance and the Strategy pattern. Learn how to balance strict SOLID adherence with pragmatic design decisions.
develclan.com/open-closed-pr…
Master Value Objects in Ruby using the modern Data.define class. Learn about immutability, value equality, and how to eliminate boilerplate code for cleaner, safer domain modeling.
develclan.com/value-objects-…
Should a Ruby class do just one thing? Explore the Single Responsibility Principle, cohesion, and when to split classes through practical examples.
develclan.com/single-respons…
Master the N+1 problem in Active Record. Understand when to use joins, includes, or both to optimize Rails database queries and boost performance.
develclan.com/n-plus-1-probl…
The complete Ruby testing tutorial: understand fundamentals by building a test framework, then explore Minitest, RSpec, and Rack::Test with practical examples.
develclan.com/testing-ruby-f…