]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/validates_email_format_of/rails/init.rb
Fix some deprecation warnings in the file_column plugin
[rails.git] / vendor / plugins / validates_email_format_of / rails / init.rb
index bdc8b5794f7ea71f62917ac8e0df6c380730a3b8..bf0e943700f35fabe542152db0d37f969269b539 100644 (file)
@@ -1 +1,3 @@
-require 'validates_email_format_of'
+if defined?(ActiveRecord::Base)
+  require 'validates_email_format_of'
+end