I wonder what the REST API clients are available for using from Ruby (not JRuby, so native bindings are not an option)?
Ideally, I would want the API similar to the neo4j gem or ActiveRecord (validations, migrations, observers etc).
Currently available (REST) tooling doesn’t even come close to what we have, for example, in ActiveRecrod:
- neograhy – just plain REST API. Nothing to do with models etc.
- neology – is just a wrapper over neography and isn’t a full featured ActiveModel.
- architect4r – conforms to ActiveModel, but provides only one way to query data (Cypher language), also no indexes support.
I like the code of architect4r a little bit more (primarily because it uses ActiveModel).
But neology seems to be much more pragmatic choice as it already is using neography under the hood.
The choice is pretty small and tough.
Could you please tell when one should be used rather than the other?
Also any recommendations that would help me to decide on the gem are very welcome.
Thanks.
The short answer is that there is no any mature ActiveModel-like gems for RESTful neo4j.
The most common scenario is to just use Neography.