Quoting athem <[email protected]>:
> Hello,
> 
> I want to implement authentication using the authlogic gem in an
> application that already implements a User model that I cannot
> modify.  The authlogic authentication would be for something like a
> new AdminUser model, completely separate from the existing User model.
> 
> Since authlogic is installed as a gem on the server (and used by other
> applications), the gem code itself cannot be modified.
> 
> Any tips for where to begin/how to approach this?
> 

What happens if you just add acts_as_authenticated to the AdminUser model?  It
may take a little monkeying about to discover what AuthLogic is expecting the
other pieces to be named, like sessions.  Give it a try.  And report back here
on the list for the future.

Jeffrey

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to