Skip to content

Comment on Rails – The Missing Parts – Policiesparent

Comments

Additionally, I find that the key problem with bloated models stems from missing domain models (often has-many-through models). Not from moving the logic of the existing models into more noun classes.

When I first started learning Rails 4 years ago, I watched a video of a talk you gave where you refactored a kludgy piece of code to use an additional resource/model. The code unraveled before our eyes.

I still remember that as a Neo moment.

Don't suppose you have a link to that video? Or remember any more details so I could dig it up?

I think it was this one, but unfortunately I can't find the whole video.

https://www.youtube.com/watch?v=mp4z2eK1Avw

http://johannesbrodwall.com/2007/02/27/crud-rest-rails/

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.