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

Enforce uniqueness for user subscription preferences #187

Open
camallen opened this issue Jun 5, 2019 · 0 comments
Open

Enforce uniqueness for user subscription preferences #187

camallen opened this issue Jun 5, 2019 · 0 comments

Comments

@camallen
Copy link
Contributor

camallen commented Jun 5, 2019

https://github.com/zooniverse/Talk-Api/blob/9b56fca32998328fb0afef8be586749b442c46c6/app/models/subscription_preference.rb#L4

Only allow a user to have one subscription preference for each category

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

No branches or pull requests

1 participant