Problems with Auth_generator


#1

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…
:frowning:

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 :frowning: