lib/active_validation.rb in active_validation-4.0.5 vs lib/active_validation.rb in active_validation-4.0.6
- old
+ new
@@ -1,11 +1,13 @@
require 'active_model'
require 'active_support'
+require 'active_support/core_ext/time/zones'
require 'active_validation/version'
ACTIVE_VALIDATION_VALIDATORS ||= %w(
alpha alpha_numeric base64 boolean coordinate credit_card currency cusip email equality hex imei
- ip isbn isin mac_address name password phone sedol slug ssn tracking_number type url username uuid
+ ip isbn isin mac_address name password phone sedol slug ssn time_zone tracking_number type url
+ username uuid
).freeze
ACTIVE_VALIDATION_VALIDATORS.each do |file_name|
require "active_validation/validators/#{file_name}_validator"
end