search for: getemail

Displaying 2 results from an estimated 2 matches for "getemail".

Did you mean: setemail
2011 Dec 14
7
Actionmailer woes
...or 1)'' So I though - ok - the actionmailer receive method must be expecting one argument. Lets create another method to accept the userid and call the receive method with only the raw email. So I wrote as second PokeMailer method: (ATTEMPT 2) class PokeMailer < ActionMailer::Base def getemail(email,userid) @userid=userid PokeMailer.receive(email) end def receive(email) .. end .. end and call it with task = PokeMailer.getemail(m.pop,userid) Now I get the error ''undefined method `getemail'' for PokeMailer:Class'' (kindof figured this out -...
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
...39; /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'' /usr/ruby-enterprise/lib/ruby/1.8/soap/rpc/driver.rb:232:in `getEmail'' /usr/ruby-enterprise/lib/ruby/1.8/soap/wsdlDriver.rb:117:in `__send__'' /usr/ruby-enterprise/lib/ruby/1.8/soap/wsdlDriver.rb:117:in `GetEmail'' app/controllers/application_controller.rb:16:in `user_session'' /data1/src/ruby/passenger-2.2.7/lib/phusion_passe...