Skip to content

Fix day model validations for when end_date or start_date attributes are nil#620

Merged
erdgeist merged 1 commit intofrab:masterfrom
marcbest:fix-day-date-validations
Nov 2, 2019
Merged

Fix day model validations for when end_date or start_date attributes are nil#620
erdgeist merged 1 commit intofrab:masterfrom
marcbest:fix-day-date-validations

Conversation

@marcbest
Copy link
Contributor

@marcbest marcbest commented Nov 2, 2019

Model validations are always all run, therefore custom validations which rely on the start and end date not being nil were failing and raising an error

Before:
image

After:
image

…are nil

Model validations are always all run, therefore custom validations which rely on the start and end date not being nil were failing and raising an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants