Permalink
Browse files

init.rb and validates_email_with_smtp module

  • Loading branch information...
1 parent 3cd74bf commit f27fc5d28aadd5a63462d147391afd864ee3fa54 Jussi Uusi-Illikainen committed Jan 19, 2009
Showing with 20 additions and 0 deletions.
  1. +1 −0 init.rb
  2. +19 −0 lib/validates_email_with_smtp.rb
View
@@ -0,0 +1 @@
+require File.dirname(__FILE__) + '/lib/validates_email_with_smtp'
@@ -0,0 +1,19 @@
+require File.dirname(__FILE__) + '/mail_check'
+
+module VaildatesEmailWithSmtp
+ def self.included(base)
+ base.class_eval do
+ extend ClassMethods
+ end
+ end
+
+ module ClassMethods
+ def validates_email_with_smtp(*args)
+
+ end
+ end
+end
+
+class ActiveRecord::Base
+ include ValidatesEmailWithSmtp
+end

0 comments on commit f27fc5d

Please sign in to comment.