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

Add event's name validation #5

Merged
merged 2 commits into from
Aug 8, 2023
Merged

Conversation

JuanVqz
Copy link
Contributor

@JuanVqz JuanVqz commented Aug 7, 2023

We've been using the event's name to know what kind of event it is.

I think we should add the name presence validator,
what do you think about it?

If you want to add more validations, please let me know, and also, if the
validation is not needed/desired feel free to close the pr.

JuanVqz added a commit to JuanVqz/signalman that referenced this pull request Aug 7, 2023
You will receive this error message when trying to run the test suite.

```
Error:
SignalmanTest#test_it_has_a_version_number:
ActiveRecord::StatementInvalid: Could not find table 'signalman_entries'
```

Feel free to merge this pr before this related excid3#5 one
@excid3
Copy link
Owner

excid3 commented Aug 7, 2023

Good with me. Should we also add this to the database null: false ?

@excid3 excid3 added the enhancement New feature or request label Aug 7, 2023
@excid3 excid3 self-assigned this Aug 7, 2023
We've been using the event's name to know what kind of event it is.

I think we should add the name presence validator,
what do you think about it?

If should be more validations, please let me know, and also, if the
validation is not needed/desired feel free to close the pr.
@JuanVqz
Copy link
Contributor Author

JuanVqz commented Aug 7, 2023

Good with me. Should we also add this to the database null: false ?

Good call, it's done 👍

@excid3 excid3 merged commit e0574c4 into excid3:main Aug 8, 2023
1 check passed
@JuanVqz JuanVqz deleted the add-validate-event-name branch August 8, 2023 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants