fix for rails_best_practice