Prevent addition of duplicate resources in Rails 4

Rails 4's ActiveModel::Name class no longer inherits from String and
breaks the expected comparison behavior when searching for existing
resources.