Re: [Rails] How to create first user for sign in using devise

2013-07-22 Thread Dheeraj Kumar
Create a new User object, then fill in the fields, and call save. -- Dheeraj Kumar On Monday 22 July 2013 at 5:19 PM, Tushar Patil wrote: Hi, I want to authentication for sign in and sign out, i add gem file and create a user model using devise in rails3, i want to create a user for

Re: [Rails] How to create first user for sign in using devise

2013-07-22 Thread Emil S
I use email for login , so I do this in the console/database seed file : User.create(email: 't...@test.com', password: 'password123', password_confirmation: 'password123') Then I log in with the t...@test.com and password123 On 22 July 2013 17:21, Dheeraj Kumar a.dheeraj.ku...@gmail.com

[Rails] How to create first user for sign in using devise

2013-07-22 Thread Tushar Patil
Hi, I want to authentication for sign in and sign out, i add gem file and create a user model using devise in rails3, i want to create a user for first sign in and sign out, how can i create, any suggestion. -- You received this message because you are subscribed to the Google Groups

Re: [Rails] How to create first user for sign in using devise

2013-07-22 Thread Norbert Melzer
Devise has a wonderful kickstarter, just take a look into the readme and follow the steps. Am 22.07.2013 13:50 schrieb Tushar Patil tushar01pa...@gmail.com: Hi, I want to authentication for sign in and sign out, i add gem file and create a user model using devise in rails3, i want to create