simple_recommender :magnifying_glass_tilted_left: 在Rails / Postgres应用程序中获得相关项目“推荐X的用户也喜欢Y的用户”的快速简便方法。 book = Book . find_by ( name : "Harry Potter" ) # Find the books most similar to Harry Potter, based on users' likes book . similar_items # => [#, #,