I installed and configured the recommendable gem (https://github.com/davidcelis/recommendable). After that I just had to add one line of code in the stats generation logic that makes the user like a question if its marked as wrong.
Now I can recommend questions to a user based on what other users have missed.
>> user.recommended_questions
=> [#<question_id: 88="88">, #<question_id: 200="200">, #<question_id: 50="50">...]
The next step is to make it work for concept, concept groups, and categories.
No comments:
Post a Comment