Topic: Creating users form rails console

When i create user from console..it doesn't assign an id to the record..it shows nil..so i am not able to access that record..it always shows nil ....when i save it using

Re: Creating users form rails console

Are you creating the user by console using the rails generate model or are you using a database command in the console?  Where is nil showing(i.e. view, db console, console)?  What are you saving it with?