deadmousse
deadmousse

Reputation: 416

ArgumentError: Invalid session type: :server_db (expected one of [:http, :bolt, :embedded])

I'm trying to create a node using Ruby on Rails and I'm following the steps from here.

Everything is fine until I execute

Asset.create(title: 'A predictive analysis of predictive analytics')

It gives me

ArgumentError: Invalid session type: :server_db (expected one of [:http, :bolt, :embedded])"

How do I resolve this?

Upvotes: 2

Views: 253

Answers (1)

logisima
logisima

Reputation: 7478

Can you test by replacing the line config.neo4j.session_type = :server_db in your config/development.rb file by this one : config.neo4j.session.type = :bolt

Cheers

Upvotes: 2

Related Questions