You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which suggests that the issue may arise from the config.nearest_neighbors being set to nil and the config.user_class not being set.
However, when you set the config.user_class = User, the application crashed instantly with a bunch of weird errors.
My config/initializers/recommendable.rb looks like:
Recommendable.configuredo |config|
# Recommendable's connection to Redisconfig.redis=Redis.new# Whether or not to automatically enqueue users to have their recommendations# refreshed after they like/dislike an itemconfig.auto_enqueue=trueend
The text was updated successfully, but these errors were encountered:
Hey, for some reason when you run the following:
you get the following error after performing an action, in the Sidekiq logs
The line points to this line in the
helpers/calculations.rb
file:which suggests that the issue may arise from the
config.nearest_neighbors
being set to nil and theconfig.user_class
not being set.However, when you set the
config.user_class = User
, the application crashed instantly with a bunch of weird errors.My config/initializers/recommendable.rb looks like:
The text was updated successfully, but these errors were encountered: