Forum: Ruby on Rails Problems with Auth_generator

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Damaris F. (Guest)
on 2008-11-04 01:27
Hi you all, I was trying to get work the auth_generator gem.

I'm using Rails version 2.1.2 and auth_generator 2.0.1. I managed to
work with everything except:

1: ActionMailer configuration: I don't know really much about this, so I
put the default configuration about ActionMailer, that is:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.server_settings = {
  :address => "localhost",
  :port => 25,
  :domain => "mydomain.com"
}
I mean, I don't understand really much about SMTP servers and so on...
:(

2: Even with that, I tried to start my webrick and the following error
appeared:
.../app/controllers/application.rb:17: undefined method `service' for
ApplicationController:Class (NoMethodError)

"service :notification" is something that has to be set (I read it in
the Readme file of the gem after installing). Has this error something
to do with the fact of not having configured rightly the ActionMailer
above?

Simple suggestions are welcomed :(
This topic is locked and can not be replied to.