Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Person Advanced Model #20

Merged
merged 2 commits into from
Mar 1, 2018
Merged

Person Advanced Model #20

merged 2 commits into from
Mar 1, 2018

Conversation

randalhumphries
Copy link
Owner

Creates the Person advanced model.

Issues:
Closes #19

Why:

* Provide model for Contact

This change addresses the need by:

* Creating the 'contact' model
* Creating the 'contact' factory
* Creating the 'contact' spec
Why:

* Provide date of birth column for Person

This change addresses the need by:

* Creating migration to add 'date_of_birth' column to 'person' model
* Adding presence validation for the 'date_of_birth' attribute in the
  'person' model
* Updating the 'person' factory with the 'date_of_birth' attribute
* Updating the 'person' spec to test presence validation of the
  'date_of_birth' model
@randalhumphries randalhumphries self-assigned this Mar 1, 2018
@randalhumphries randalhumphries merged commit 4ee82cd into master Mar 1, 2018
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.

None yet

1 participant