No, you do not need to create a model named member. User is sufficient.
But you have create user_session model a user_sessions controller.

Try doing exactly as said in this-
http://github.com/binarylogic/authlogic_example/

Let us know if you are facing problems still.

On Thu, Jan 21, 2010 at 8:00 PM, Craig White <[email protected]> wrote:

> trying out Authlogic for the first time (joined the mail list but
> apparently the first message is moderated and it's been hours)...
>
> created db sessions but when I log in, no entry is added to sessions db
>
> Maybe it's because my 'user' model is named 'member' and thus I
> substituted /user/member/ and /User/Member/ but I wouldn't think so.
>
> I can login and save passwords but cannot get value from
> 'current_member' or any session variables either.
>
> Should I be creating a member_sessions table in the db or does the
> standard Rails sessions table handle this function? I ask because it is
> empty.
>
> Craig
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --
> 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]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Satyajit

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