Active record without database

My application does not need a database backend, because it is a kind of proxy server between the client and other servers.

But I found that it would be nice to have all the Active Record objects (checks, associations, etc.) in my project.

How to configure Active Record to not use the database at all?

Ryan Bates as 219 Active Model described only part of the validation, but I need an association.

+4
source share
2 answers

Take a look at ActiveModel . What AR uses under the hood.

+1
source

These two stones may be what you want:

activemodel-associations

activemodel

+1
source

All Articles