fix ~40 rails_best_practices bugs