Advertisement
Guest User

Untitled

a guest
Jun 5th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. require 'rubygems'
  2. require 'bundler/setup'
  3. Bundler.require(:default)
  4.  
  5. ActiveRecord::Base.establish_connection(
  6. adapter: 'postgresql',
  7. host: 'localhost',
  8. username: 'postgres',
  9. password: 'postgres',
  10. database: 'testdb'
  11. )
  12.  
  13. require_all 'app'
  14.  
  15. use TaskController
  16.  
  17. run ApplicationController
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement