Ruby on Rails follows the popular Model, View, Controller paradigm. One thing of note about this is Rails’s separation of the routes from the controller...

Jul 01, 2014 on Rails Ruby MVC  0

Put Your Controllers On a Diet With Service Objects

When you use the Model-View-Controller pattern with Rails, you can be dragged into a state of only making models for your ActiveRecord objects...

Feb 25, 2015 on Rails SoftwarePatterns CleanCode MVC  0

Using Transactions with Active Record

<span>A transaction is a database feature where you can create, update, or delete multiple records from a database and if just one of them fails, everything ...

Mar 06, 2015 on ActiveRecord SQL SoftwarePatterns CleanCode MVC  0