how do i add a record from the console

I’ve been trying to do it from memory something like this, but it’s not working it keeps returning rollback and false


If you are using Devise or anything like it, you may need to also have password_confirmation = "password" in order to get past that requirement.


It is getting rather tedious repeatedly pointing you to where in you can find the solution to the questions you ask.
In this case the answer is in section 6.1.3 Creating user objects.

I can only suggest once again that you take a couple of days out and
work right through that tutorial, including doing all the exercises.
Then you would not need to waste your time asking such questions.