> However, you're doing two things wrong here:
> * Following an outdated book
> * Trying to roll your own authentication library -- just go with
> Authlogic or Devise.

This is for a personal project that doesn't require rapid development. 
I'm just trying to build my own authentication system so I can better 
understand the Rails environment. Like you said, perhaps he's declaring 
a setter and getter method of the User class with the identifier of 
"password". Nevertheless nowhere is it explained how to translate this 
to a password hash in this book. I looked at the Advanced Recipes book 
and it doesn't cover authentication at all.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to