If you want to have separate models for MySQL and Neo4j, look into the
Neo4j gem,
https://github.com/neo4jrb/neo4j. It provides
ActiveRecord-like modules that let you build Neo4j models and work with
the database easily. It has a great community and development on the gem
is very active.
If you want to make it easy for ActiveRecord models to pull from Neo4j,
you can look into writing methods in your AR models that pull from Neo
using Neo4j-core,
https://github.com/neo4jrb/neo4j-core. It requires a
lot more knowledge of the database, though, it's really just an API
wrapper with some helper methods to make certain basic tasks easier.
You can post on StackOverflow, open issues, or email any of the
maintainers if you need a hand.
--
Posted via
http://www.ruby-forum.com/.