refactor class_profile
Merge branch 'rails-best-practices'