Chris Günther
2007-Jun-11 08:38 UTC
using act_as_authenticated and convert existing user table
Hi, I am a rails newbie and I can''t find out how to use act_as_authenticated with an existing user table. The problem is that I can not figure out how to encrypt all existing passwords/logins to the fields encrypted_password/salt for each row in my user table. The user table is already migrated and the AAA plugin works well with new records/users but I also need to convert the remain 28000 records. Anybody out there who can point me in the right direction? Thank you Chris -- 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 -~----------~----~----~----~------~----~------~--~---