Skip to content

Commit

Permalink
Add support for ORM CouchrestModel for CouchDB
Browse files Browse the repository at this point in the history
  • Loading branch information
shenoudab committed Oct 17, 2010
1 parent a5b28d2 commit f609c59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/orm_adapter.rb
Expand Up @@ -15,5 +15,6 @@ def self.model_classes
end

require 'orm_adapter/adapters/active_record' if defined?(ActiveRecord::Base)
require 'orm_adapter/adapters/couchrest_model' if defined?(CouchRest::Model::Base)
require 'orm_adapter/adapters/data_mapper' if defined?(DataMapper::Resource)
require 'orm_adapter/adapters/mongoid' if defined?(Mongoid::Document)
require 'orm_adapter/adapters/mongoid' if defined?(Mongoid::Document)

0 comments on commit f609c59

Please sign in to comment.