perfectline/validates_existence — pull request #20 by MeetDom (2013-03-12 15:00:09+00:00)
Title: Fix for Rails 4 and invalid gemspec.

Defaults to the deprecated `primary_key_name` method instead of the `foreign_key` method when the `ActiveRecord::VERSION::MINOR >= 1` because it fails to check the major version.