lib/neo4j/railtie.rb in neo4j-6.0.0.alpha.7 vs lib/neo4j/railtie.rb in neo4j-6.0.0.alpha.8
- old
+ new
@@ -53,10 +53,10 @@
Rails.root.join(path)
end.detect(&:exist?)
end
def default_session_type
- if ENV['NEO4J_PATH']
+ if ENV['NEO4J_TYPE']
:embedded_db
else
config_data[:type] || :server_db
end.to_sym
end