ActiveModel::Name is no longer a string in Rails 4