Hi all, Does anyone if it''s simple to remove the login/username from act_as_authenticated and use someone''s email address for it? I usually find that easier to remember than an username. I installed act_as_authenticated and had a quick look at the code and it looks fairly simple, but I would like to know if someone''s had any experience with it. Or may there be a better login-generator-thingy around? Thanks in advance! -- 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> I installed act_as_authenticated and had a quick look at the code and it > looks fairly simple, but I would like to know if someone''s had any > experience with it.I''ve done this. If I remember correctly, you can just change the calls to find_by_login to find_by_email. Not too much work involved at all. HTH, Jord --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jordan Elver wrote:>> I installed act_as_authenticated and had a quick look at the code and it >> looks fairly simple, but I would like to know if someone''s had any >> experience with it. > > I''ve done this. If I remember correctly, you can just change the calls > to find_by_login to find_by_email. Not too much work involved at all. > > HTH, > JordAh, nice. Gonna look at it tonight. Thanks. -- 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---