Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
ActionMailer
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Kevin Brown, post: 4493098"] I'm trying to use ActionMailer without rails. Perhaps I'm tired, but I am quite confused by the following: irb(main):001:0> require 'action_mailer' => true irb(main):002:0> irb(main):003:0* class Emailer < ActionMailer::Base irb(main):004:1> def initialize irb(main):005:2> super() irb(main):006:2> end irb(main):007:1> end => nil irb(main):008:0> email = Emailer.new => nil Why am I getting nil out of that statement (it's not just irb, I checked)? I've found the documentation at: [URL]http://api.rubyonrails.com/classes/ActionMailer/Base.html#M000291[/URL] [URL]http://am.rubyonrails.org/[/URL] But I'm still at a loss. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
ActionMailer
Top