CleanCode

Yo Dawg, I Heard You Like Partials So I Put a Partial In Your Partial So You Can Refactor While You Refactor.

One of the founding principles of Ruby on Rails is "Don't Repeat Yourself", or DRY...

Jul 03, 2014 on Rails Ruby CleanCode  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