Reputation: 21791
My application doesn't need any database backend because it's kinda proxy server between client and another servers.
But I found that it would be nice to have all Active Record facilities (validation, associations and etc) in my project.
How to setup Active Record to not use database at all?
Ryan Bates in 219 cast "The Active Model" described only validation part but I need association facility.
Upvotes: 9
Views: 8832
Reputation: 14401
Take a look at ActiveModel. That's what AR uses under the hood.
Upvotes: 4