-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
The "Validation Errors" section of the readme says that create returns a falsey value on errors:
User.create(name: "Bob", email_address: "invalid email")
# => falseThis 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. |
Metadata
Metadata
Assignees
Labels
No labels