Sha256: e49f18dfb3f9f785667c1e791cd9f9250a3bbb774a5839f56840172a10c60feb

Contents?: true

Size: 567 Bytes

Versions: 2

Compression:

Stored size: 567 Bytes

Contents

require 'active_support'
require 'active_model'
require 'active_record'
require 'active_support/all'
require 'active_model/validations'
#Eager autoload the library's validators into AR::Validations
module ActiveModel
  module Validations
    extend ActiveSupport::Autoload
    autoload :EmailValidator
    autoload :UrlValidator
    autoload :RespondToValidator
    autoload :PhoneValidator
    autoload :SlugValidator
    autoload :IpValidator
    autoload :CreditCardValidator
    autoload :DateValidator, 'date_validator'
    autoload :PasswordValidator
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activevalidators-1.2.3 lib/activevalidators.rb
activevalidators-1.2.2 lib/activevalidators.rb