couchrest_model/lib/couchrest_extended_document.rb
2010-06-11 02:02:22 +02:00

22 lines
614 B
Ruby

# require File.join(File.dirname(__FILE__), "couchrest", "extended_document")
gem 'couchrest'
require 'couchrest'
require 'active_support'
require 'mime/types'
require "enumerator"
# Monkey patches applied to couchrest
require File.join(File.dirname(__FILE__), 'couchrest', 'support', 'couchrest')
# Base libraries
require File.join(File.dirname(__FILE__), 'couchrest', 'extended_document')
require File.join(File.dirname(__FILE__), 'couchrest', 'casted_model')
# Add rails support *after* everything has loaded
require File.join(File.dirname(__FILE__), 'couchrest', 'support', 'rails') if defined?(Rails)