wvanbergen/activerecord-databasevalidations — pull request #3 by wvanbergen (2014-10-15 15:04:20+00:00)
Title: Support ActiveModel 4.0

ActiveModel 4.0.x unfortunately does not send :class as an option to the validator’s constructor.