On 24/08/2013, at 8:06 AM, jon goodey <lists / ruby-forum.com> wrote:
> TestMailer::deliver_test_email
> in the console and get the details or run

Should be:

    TestMailer.deliver_test_email=20

no?

The deliver_test_email method is a class method, so you call it by =
passing the 'deliver_test_email' method call to 'TestMailer' class by =
using a period '.' in between.

You are using :: which is telling Ruby to look up the constant =
"deliver_test_email" within the module TestMailer which is why it is =
throwing an error, as there is no module called TestMailer, only a class =
called TestMailer.

Mikel Lindsaar