Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # app/controllers/application.rb
- class ApplicationController < ActionController::Base
- require File.join(File.dirname(__FILE__), '../../vendor/plugins/relaxdb/lib/relaxdb')
- RelaxDB.configure(:host => 'localhost', :port => 5984)
- RelaxDB.use_db('cd_collection')
- end
Add Comment
Please, Sign In to add comment