2017-11-23 6 views
1

이 오류를 이해할 수 없습니다. neo4j.config.session_path is deprecated, please use neo4j.config.session.path. 테스트 중에 myspec 파일에이 내용이 표시됩니다. Neo4j를 7에서 버전 9로 업데이트했는데 이제는이 기능이 중단되었습니다. 내가 어디 선가 내가 그 행이 사용되지 않는 것을 발견 할 수 없기 때문에 내가해야 할 일을 이해할 수 없다. 나는 코드의 다음 줄에 오류를 받고 있어요 : 당신은 neo4j.config.session_path 앱 어딘가에 정의 찾아야한다레일 Neo4j neo4j.config.session_path는 더 이상 사용되지 않습니다. neo4j.config.session.path를 사용하십시오.

describe "Edit Access" do 

before :all do 
    Amendment.delete_all 
    a = Amendment.create(cid: "X1", namespace: "http://www.example.com", property: "question", 
         study_value: "ADEF", default_value: "A1", datatype: "string") 
    a = Amendment.create(cid: "X1", namespace: "http://www.example.com", property: "enabled", 
         study_value: "true", default_value: "true", datatype: "boolean") 
    a = Amendment.create(cid: "Y1", namespace: "http://www.example.com", property: "enabled", 
         study_value: "false", default_value: "true", datatype: "boolean") 
    ua_create 
end 

after :all do 
    Amendment.delete_all 
    ua_destroy 
end 

답변

0

. 어쩌면 그것을 검색/grep? 내가 그것을 찾기 위해 기대할 수있는 장소는 다음과 같습니다

설정/application.rb 설정/환경/development.rb 설정/환경/test.rb 설정/환경/production.rb

별도로, I 7.x에서 8.x/9.x로 업그레이드 할 수있는 문제는 upgrade guide을 읽어보십시오.