fix law of demeter [rails_best_practices]
fix remove unused methods [rails_best_practices]
fix restrict auto-generated routes [rails_best_practices]