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/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/21bcb76763356e50a09539cdc0e6011f%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment