# Problems with Auth\_generator

**URL:** <https://www.ruby-forum.com/t/problems-with-auth-generator/152446>\
**Category:** Rails\
**Created:** [November 4, 2008, 12:27am UTC](https://www.ruby-forum.com/t/problems-with-auth-generator/152446 "2008-11-04T00:27:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![damaris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/2bfe46/32.png) [@damaris](https://www.ruby-forum.com/u/damaris)\
**Post date:** [November 4, 2008, 12:27am UTC](https://www.ruby-forum.com/t/problems-with-auth-generator/152446/1 "2008-11-04T00:27:10Z")

</div>

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](http://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 ☹
