我正在尝试使用 Ruby on Rails 创建一个节点,并且按照 here 中的步骤进行操作.
在我执行之前一切都很好
Asset.create(title: 'A predictive analysis of predictive analytics')
它给了我
ArgumentError: Invalid session type: :server_db (expected one of [:http, :bolt, :embedded])"
如何解决这个问题?
最佳答案
您能否通过将 config/development.rb
文件中的 config.neo4j.session_type = :server_db
行替换为以下行来进行测试:config.neo4j .session.type = :bolt
干杯
关于ruby-on-rails - 参数错误 : Invalid session type: :server_db (expected one of [:http, :bolt,:嵌入]),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45033520/