The "Validation Errors" section of the readme says that create returns a falsey value on errors:
User.create(name: "Bob", email_address: "invalid email")
# => false
This is incorrect: create actually returns the set of attributes regardless of success status. This code comment above the create method is correct:
|
# @return [Resource] The instance you tried to create. You will have to check the persisted state or errors on this object to see success/failure. |