Handle recommendations for non-existing items gracefully #4

Closed
wants to merge 1 commit into
from

2 participants

@egze

Previously when you try to get recommendations for non-existing items - you would get an exception "undefined method `split' for nil:NilClass".

Now you just get an empty array.

@paulasmuth
Owner

With specs -> awesome. Thanks! :)

@paulasmuth paulasmuth closed this Feb 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment