fixed 'rails_best_practices'-warnings