Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'active_record'
- require 'pg'
- require 'sinatra'
- ActiveRecord::Base.establish_connection(
- adapter: 'postgresql',
- host: 'localhost',
- username: 'postgres',
- password: 'postgres',
- database: 'testdb'
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement