module OrmAdapter

def self.adapters

A collection of registered adapters
def self.adapters
  @@adapters ||= []
end

def self.model_classes

All model classes from all registered adapters
def self.model_classes
  self.adapters.map { |a| a.model_classes }.flatten
end