Setting up email registration with Authlogic (couple questions)?

I'm pretty new to rails and I having troubling finding examples on how to setup email registration with Authlogic (rails3 ruby 1.9.) (I have authlogic working fine with Rails3 minus the email registration part.)

The Authlogic docs seem pretty weak in helping me understand 'what I need to do.' but maybe since I'm new I'm just missing something.

I did find this tutorial http://github.com/matthooks/authlogic-activation-tutorial/blob/master/README.textile but I'm curious about something in it -

In step5 it mentions:

added to app/models/notifier.rb #then code follows

But I didn't see anywhere even in the tutorial where a Notifier model was created? Is this Notifier class something Authlogic is supposed to create for me somehow and then I just edit it?

I'm getting pretty lost with this Authlogic stuff because I understand a lot of "magic" just happens - but I'm not finding examples how to set things up. The Authlogic example http://github.com/binarylogic/authlogic_example/tree/master/app/ doesn't demonstrate email registration.

Would using Devise maybe be easier for me as a newbie?

Thanks,

It looks like Rails 2 style mailers are being used for github.com/ matthooks/authlogic-activation-tutorial. That may be where your feeling some pain since your working on a Rails 3 app. I just re-wrote an Authlogic acct. activation flow from Rails 2 to Rails 3 and using the new mailer code was very nice.

Elliott G

It looks like Rails 2 style mailers are being used for github.com/ matthooks/authlogic-activation-tutorial. That may be where your feeling some pain since your working on a Rails 3 app. I just re-wrote an Authlogic acct. activation flow from Rails 2 to Rails 3 and using the new mailer code was very nice.

How do I find about this "new mailer" code? When I look at the docs http://rdoc.info/github/binarylogic/authlogic I'm not sure what to look at it to implement. I figured "PerishableToken" might provide some insight in the docs but it didn't say much.

Anything else you could share to get me on the right track would be much appreciated.

Thanks

I am using Authlogic 2.1.6 with Rails 3. While upgrading my existing auth system, I don't recall having to change any of the actual implementation code aside from using the Rails 3 mailer.

Here's the Guide's link to the new mailer:

Just use the new mailer structure and code in place of what you see in the tutorial. And note that the entire tutorial is written for Rails 2 so be sure to use the new command line syntax for the generator calls etc...

Elliott G