X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bbf30e76e4bfcd70e62fc84ecd32c5e494506e9e..6a3cadb52d010b333a4acea8942bc4c13394e236:/vendor/plugins/validates_email_format_of/rails/init.rb diff --git a/vendor/plugins/validates_email_format_of/rails/init.rb b/vendor/plugins/validates_email_format_of/rails/init.rb index a30177232..bf0e94370 100644 --- a/vendor/plugins/validates_email_format_of/rails/init.rb +++ b/vendor/plugins/validates_email_format_of/rails/init.rb @@ -1 +1,3 @@ -require 'validates_email_format_of' +if defined?(ActiveRecord::Base) + require 'validates_email_format_of' +end