How to configure a Ruby on Rails application without ORM using only a low-level database driver?

I want to create a Rails application using ArangoDB. It has a Rails adapter, Guacamole, but it does not have some functions that I would like to have (namely, AQL). Therefore, I am thinking of creating my models using the low-level Ashikawa driver.

What code do I need to write to work correctly? I guess I will have to write an initializer to establish a connection, is there anything else I am missing?

Thank.

+4
source share
1 answer

rails new my_app -O ActiveRecord. Mongoid , ActiveRecord .

, , ( ActiveRecord), mixin, (ala Mongoid:: Document). .

, ActiveModel::Model, , .

+5

All Articles