Guest User

Untitled

a guest
Feb 21st, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # app/controllers/application.rb
  2. class ApplicationController < ActionController::Base
  3. require File.join(File.dirname(__FILE__), '../../vendor/plugins/relaxdb/lib/relaxdb')
  4. RelaxDB.configure(:host => 'localhost', :port => 5984)
  5. RelaxDB.use_db('cd_collection')
  6. end
Add Comment
Please, Sign In to add comment