X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a36185b22f32f8053a6c1bd98bd751f24353a95f..9793e4fb7f6503beab0efe1576f3e13dbf350f30:/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 bdc8b5794..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