Login
Roast topics
Find topics
Find it!
From:
Leigh Halliday's RSS Feed
(Uncensored)
subscribe
Skinny controllers through refactoring
https://www.leighhalliday.com/skinny-controllers-through-refactoring
links
backlinks
Tagged with:
refactoring
ruby-on-rails
Roast topics
Find topics
Roast it!
Controllers can get out of control. Their job should generally be quite simple. In an MVC framework such as Rails, they should have the job of knowing how to work with the Model in order to get what is needed for the View. In other words, they…