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

User cant subscribe to tags. #2224

Closed
rishabhptr opened this issue Feb 4, 2018 · 6 comments
Closed

User cant subscribe to tags. #2224

rishabhptr opened this issue Feb 4, 2018 · 6 comments
Assignees

Comments

@rishabhptr
Copy link
Contributor

Please describe the problem (or idea)

subscribe/tag/'anything' leads to an error page.

screenshot from 2018-02-04 16-47-49

@jywarren
Copy link
Member

jywarren commented Feb 5, 2018 via email

@rishabhptr
Copy link
Contributor Author

@jywarren I have #2225 open for this where I was using .any? to check if any relation exists but 'length.positive?' works too , so I have updated the pr 😄 .

@jywarren jywarren self-assigned this Feb 5, 2018
@jywarren
Copy link
Member

jywarren commented Feb 5, 2018 via email

@jywarren
Copy link
Member

jywarren commented Feb 6, 2018

Actually shall we create a test for this method, so we don't miss this again?

@rishabhptr
Copy link
Contributor Author

@jywarren Yes , I'd love to help! :)

@jywarren
Copy link
Member

jywarren commented Feb 6, 2018

That'd be great -- here's the file where it ought to go -- we don't have a lot of tests in there! https://github.com/publiclab/plots2/blob/master/test/functional/subscription_controller_test.rb

If you want to open a new issue for this that'd be great, or just go for a PR -- either way! Thank you so much! 👍

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

2 participants