On Thu, May 2, 2013 at 10:51 PM, Emil S wrote:
> How about migrating your user table using ActiveRecord?
> I can get the data of a user from the old DB in some way, and migrate into
> the new DB using this :
>
> User.create(email: 't...@test.com', password: 'unencrypted password from old
> db', pa
How about migrating your user table using ActiveRecord?
I can get the data of a user from the old DB in some way, and migrate into
the new DB using this :
User.create(email: 't...@test.com', password: 'unencrypted password
from old db', password_confirmation :'same_password')
On 3 May 2013 07:0
On May 2, 2013, at 6:32 PM, oto iashvili wrote:
> Hi,
> im migrating a website from php to rails and devise. There is a user table
> with password that are not encrypted. I made already a script in php to
> migrate to data to new database, but I cant figure how to encrypt password so
> i w
Hi,
im migrating a website from php to rails and devise. There is a user
table with password that are not encrypted. I made already a script in php
to migrate to data to new database, but I cant figure how to encrypt
password so i will work with devise. I foudn different solution on google,
b
4 matches
Mail list logo