4 ms·
> Rails practically begs you to disregard SRP in your models. That's because the Active Record pattern is explicitly double responsibility: http://martinfowler
by jdminhbg 14y ago
> Rails practically begs you to disregard SRP in your models.
That's because the Active Record pattern is explicitly double responsibility: http://martinfowler.com/eaaCatalog/activeRecord.html http://martinfowler.com/eaaCatalog/activeRecord.html That's why it's called "active record" -- there's domain logic and persistence in one object.