Displaying 2 results from an estimated 2 matches for "deliver_test".
Did you mean:
deliver_task
2006 Nov 29
1
actionmailer on Debian Etch
...tures/letter
create app/models/letter.rb
create test/unit/letter_test.rb
create app/views/letter/test.rhtml
create test/fixtures/letter/test
create app/views/letter/send.rhtml
create test/fixtures/letter/send
mage@miranda:~/temp/mailer$ script/runner Letter.deliver_test
./script/../config/../vendor/rails/railties/lib/commands/runner.rb:27:
undefined method `wday'' for "test":String (NoMethodError)
from
./script/../config/../vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/facade.rb:109:in
`date=''
from
./script...
2008 Sep 04
1
actionmailer sends from commandline but not from web
...t;domain.com"
}
class Emailer < ActionMailer::Base
def test()
recipients "me-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org"
from "you-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org"
subject "subject"
body "body"
end
end
Emailer.deliver_test()
-------------------------
I''m running Apache 2.2, and this is what my ruby.conf file for it looks
like:
-------------------------
LoadModule ruby_module modules/mod_ruby.so
<IfModule mod_ruby.c>
RubyRequire apache/ruby-run
RubyRequire apache/eruby-run
<Files *.rb>...