Simplifying your Ruby on Rails code: Presenter pattern, cells plugin
In this article I’m explaining how to work out bloated controllers in Ruby on Rails applications, what to do with domain logic in views, when there is only one place where it is used, and how to simplify your controller code with lots of fragment_exist? checks.
Post a comment