2011-01-21 48 views
0

我用今天EmailVeracity如下:導軌 - EmailVeracity - 設置domain_check和超時

email = EmailVeracity::Address.new(params[:user][:email]) 

我想知道如何禁用domain_check和/或降低超時。我想:

email = EmailVeracity::Address.new(params[:user][:email], :domain_check => false, :timeout => 5, :message => "is not valid") 

卻得到一個ArgumentError,任何想法?

回答