Sha256: c33428b7f4c9e71672172f56393944999cdc749cb53cdda7fd2136e475ffaaa5
Contents?: true
Size: 411 Bytes
Versions: 17
Compression:
Stored size: 411 Bytes
Contents
require 'active_model' require 'active_model/translation' module CouchPotato module Validation def self.included(base) #:nodoc: base.send :include, ::ActiveModel::Validations base.send :include, ::ActiveModel::Validations::Callbacks end end end # provide same interface to errors object as in Validatable module ::ActiveModel class Errors def errors self end end end
Version data entries
17 entries across 17 versions & 1 rubygems