couchrest_model/lib/couchrest/mixins.rb

4 lines
145 B
Ruby

mixins_dir = File.join(File.dirname(__FILE__), 'mixins')
require File.join(mixins_dir, 'attachments')
require File.join(mixins_dir, 'callbacks')