Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a flag to user in attempts model to make it optional
In rails 5, `belongs_to` adds the required validation by default with it. Make it optional so that non-logged in users can also take the survey.
- Loading branch information