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

Error: undefined method `n_activities' for nil:NilClass #44

Closed
steko opened this issue Jan 4, 2016 · 4 comments · Fixed by #48
Closed

Error: undefined method `n_activities' for nil:NilClass #44

steko opened this issue Jan 4, 2016 · 4 comments · Fixed by #48
Labels

Comments

@steko
Copy link

steko commented Jan 4, 2016

$ friends suggest
Error: undefined method `n_activities' for nil:NilClass

My friends.md is very simple since I just added a few activities to test the app.

@JacobEvelyn
Copy link
Owner

Interesting, thanks for the bug report. I'll dig into this later today.

@changecase
Copy link

I was getting this error when I had few friends listed as well. I can reproduce it while there are fewer than 7 friends.

JacobEvelyn added a commit that referenced this issue Jan 5, 2016
This commit fixes a bug that was causing the `suggest` command
to raise an error when there were not enough friends to meet
its thresholds.

Resolves #44.
@JacobEvelyn
Copy link
Owner

This should be fixed now. I'll release a new gem version in a bit. Thanks for the report!

@JacobEvelyn JacobEvelyn added the bug label Jan 5, 2016
@JacobEvelyn
Copy link
Owner

This is fixed in version 0.7!

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

Successfully merging a pull request may close this issue.

3 participants