-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding railtie #26
Comments
Thanks for opening an issue! We actually have this as an item under the docs for "Adding the gem to an existing project" in the "Ruby on Rails" section: http://neo4jrb.readthedocs.io/en/7.0.x/Setup.html#adding-the-gem-to-an-existing-project That section is a big long, though. I'd definitely like to make these things as findable as possible. What was your experience like? Thanks again |
I'm actually talking about the example app on: If I follow the instructions it works fine except for the error described above. I would suggest to add it to the instructions for the example app (not the neo4j docs). In my opinion one should be able to follow the instructions for the example app without having to check the docs. I would suggest adding it here: Add to your config/routes.rb:devise_for :users Add to your config/application.rb:require 'neo4j/railtie' btw.: i'm actually creating a completely new app here, so it has nothing to do with "Adding the gem to an existing project". greetings |
Ah, perhaps you missed the http://neo4jrb.readthedocs.io/en/7.0.x/Setup.html#generating-a-new-app That should automatically set up the |
Came across this issue because I also had the error. Followed the example code on the README:
As above, when submitting the user registration; |
Exactly, for some reason the |
Ah, good to know! I wonder if maybe it broke with Rails 5. I'll have a look soon! |
Ok, I think I've fixed it now. Try generating an app again? Thanks for reporting this! I also noticed that you're using |
Hi,
Following the instructions gave me the error "No session, please create a session first with Neo4j::Session.open(:server_db) or :embedded_db)" upon account creation. Had to add:
require 'neo4j/railtie' to /config/application.rb
you might want to include this in the instructions.
The text was updated successfully, but these errors were encountered: