I'm building an API with rails 5. When I try to store a user with the Rails console I get the following error:
I cannot figure out what is the problem. I've run the migration
set the model
added the AMS gem
This is my schema
In app/models/user.rb file, it must be ApplicationRecord, not applicationRecord.
app/models/user.rb
ApplicationRecord
applicationRecord
Collected from the Internet
Please contact [email protected] to delete if infringement.
Click to generate QR
Comments