Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Add more model validation where applicable #31

Open
rysharm opened this issue Oct 21, 2017 · 1 comment
Open

Add more model validation where applicable #31

rysharm opened this issue Oct 21, 2017 · 1 comment

Comments

@rysharm
Copy link
Contributor

rysharm commented Oct 21, 2017

Eg. Ensure the length is not too long and think about other things that may need to be validated.

@GautamGupta GautamGupta changed the title Validate Post and Comment fields Add more model validation where applicable Nov 5, 2017
@GautamGupta
Copy link
Member

  • SQL migrations + schema.rb update
  • Representing same validations in the models
  • Adding tests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants