tag:blogger.com,1999:blog-7821856652257554779.post1559380308546348893..comments2025-09-20T09:27:07.510+02:00Comments on Andrzej on Software: ActiveRecord overdoseAndrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7821856652257554779.post-60333909231771746012013-06-24T14:26:35.973+02:002013-06-24T14:26:35.973+02:00Great article! &quot;Fat model, skinny controller&...Great article! &quot;Fat model, skinny controller&quot; was the worst practice in rails ever.<br /><br />Check out this related article: http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/Anonymoushttps://www.blogger.com/profile/06511787040197951767noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-65244548679556687242013-06-24T09:45:25.988+02:002013-06-24T09:45:25.988+02:00hi Seban, It&#39;s an interesting point. Would y...hi Seban,<br /><br />It&#39;s an interesting point.<br /><br />Would you say, this is a similar problem to the one described here: <br /><br />http://c2.com/cgi/wiki?FearOfAddingClasses<br /><br />?<br /><br />Maybe Rails makes it hard to create new classes, that&#39;s why adding to the same sack seems to be so easy?Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-49332845194242981672013-06-24T07:48:01.623+02:002013-06-24T07:48:01.623+02:00I think there is one more point in genesis of this...I think there is one more point in genesis of this overdose. Putting all in one sack is too easy in Rails, at least to specified moment. Active Record class came with so big set of methods that it is too easy to build giant chimera on top of ActiveRecord::Base. I wonder if it was harder to do DB layer in Rails, people will add more classes with single responsibility.sebanhttp://blog.sebastiannowak.comnoreply@blogger.com