Forum: Ruby on Rails using act_as_authenticated and convert existing user table

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1653d15ff1af2bb56696b45b2bfa3274?d=identicon&s=25 Chris Günther (chris_guenther)
on 2007-06-11 10:38
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
This topic is locked and can not be replied to.