Revert "fix for rails_best_practice"

This reverts commit a3851cde820dba507de2936e5196ababfccb94af.