How to get detailed error messages from rails console?
You could do the following in Rails console:
>> user = User.new(...)
>> user.save
>> user.errors.messages
That way, you know what errors caused save
to fail.
You can also do:
User.create!
The 'bang' will force it to show you the errors without additional steps.