Make database offline mode work
[rails.git] / vendor / plugins / validates_email_format_of / rails / init.rb
index bdc8b5794f7ea71f62917ac8e0df6c380730a3b8..bf4d5e80a53993a081a917ac71c40dbd0992594a 100644 (file)
@@ -1 +1,3 @@
-require 'validates_email_format_of'
+if defined?(ActionRecord::Base)
+  require 'validates_email_format_of'
+end