Sha256: 60d13a49bc7b58b2583d64a6c00f2fbfa33abc6daaecc72cbce131666e78f06a

Contents?: true

Size: 364 Bytes

Versions: 7

Compression:

Stored size: 364 Bytes

Contents

require 'active_model/validations'

%w(array email existence grandparent hash_keys hash_values hostname ipaddr ordering url write_once).each do |validator|
  require "can_has_validations/validators/#{validator}_validator"
end


require 'active_support/i18n'
Dir[File.join(__dir__, 'can_has_validations', 'locale', '*.yml')].each do |fn|
  I18n.load_path << fn
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
can_has_validations-1.10.0 lib/can_has_validations.rb
can_has_validations-1.9.0 lib/can_has_validations.rb
can_has_validations-1.8.2 lib/can_has_validations.rb
can_has_validations-1.8.1 lib/can_has_validations.rb
can_has_validations-1.8.0 lib/can_has_validations.rb
can_has_validations-1.7.0 lib/can_has_validations.rb
can_has_validations-1.6.0 lib/can_has_validations.rb