model_name to_s for polymorphic associations
changed devise version for rails 4, but dependencies issues for mongoid
Merge pull request #1606 from ocolot/rails-4

Rails 4