Dependency Injection (DI) is not a very well received idea in the Ruby world. But once you understand what its all about, its not at as scary as many people consider it to be.
One of the new additions to ActiveRecord that’s gonna be coming out with the Rails 5 release is the ActiveRecord::Base.suppress method.
I have some criticism of this new feature and would like to articulate those in…
Most of us usually handle the Active Record Not Found error in ApplicationController and then redirect it to a generic view page. I found a different and more efficient way to handle it.