Skip to content

solnic.codes

  • Home
  • Open Source
  • Talks
  • About
  • Contact
  • GitHub Sponsors
  • Screencasts

solid

Single Responsibility Principle on Rails Explained

Posted on July 9, 2012 by solnic Blog 10

A few weeks back we had a small drama about SRP. There were some smart comments, some stupid ones and a few funny jokes even, like that for example: When the SRP Police comes to take me, I'll hide behind the 11 mocks I've needed to setup to test this...

Continue reading...

  • GitHub
  • LinkedIn
  • Twitter
  • YouTube
  • Facebook
  • Instagram

Top Posts

  • Fixing Ruby 2.7 compilation error on Big Sur
  • Introducing dry-validation
  • Introducing dry-schema
  • Get Rid of That Code Smell - Attributes
  • Cutting Corners or Why Rails May Kill Ruby
  • Introducing Transproc - functional data transformations for Ruby
  • 8 Things I Learned During 8 Years of Ruby and Rails
  • Open Source Status Update

Tags

activemodel activerecord blog coercion conferences data datamapper ddd design di dry-configurable dry-rails dry-rb dry-schema dry-transformer dry-validation duck-typing elixir experimental fp github github-actions github-sponsors hanami immutability javascript jquery mapping metrics middleman mocks mutation-testing oop orm oss patterns personal programming prototype rails rant refactoring rom rom-rb rspec ruby sequel solid sponsorship sql srp stubs tdd testing transproc type-safety validation virtus

Open Source

  • dry-rb
  • rom-rb
  • Hanami

solnic.codes © 2021. All Rights Reserved.