neoid-gem / neoid

Extend Ruby on Rails ActiveRecord with Neo4j nodes. Keep RDBMS and utilize the power of Neo4j queries.
MIT License
171 stars 33 forks source link

database.yml #9

Closed nakamorichi closed 12 years ago

nakamorichi commented 12 years ago

What kind of database.yml file should I have for neoid? Neoid uses ActiveRecord, and AR requires valid database.yml, but I couldn't find any info on how to configure it. I'm using only Neo4j in my app.

elado commented 12 years ago

Neoid works with AR and regular DB (like MySQL or SQLite). It mirrors the DB data to Neo4j so you can query Neo4j much faster than querying MySQL on 'graphy' data. And it uses normal database.yml as in every Rails app.

If you want to have only Neo4j, Neoid is not your solution. Try Neology instead.