Today we will talk about code organization in Ruby on Rails projects. As everybody knows, Ruby on Rails is a conventional framework, which means you should follow framework architects’ decisions (put your controllers inside app/controllers
, move all your logic into models, etc.) But there are many open questions around those conventions. In this write-up I will try to summarize my personal experience and show how I usually solve these problems.
Simplifying your Ruby on Rails code: Presenter pattern, cells plugin
Posted by Dmytro Shteflyuk on under Ruby & Rails