Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'prawn'
- require 'active_record'
- require 'pg'
- ActiveRecord::Base.establish_connection(
- adapter: 'postgresql',
- host: 'localhost',
- database: 'sample',
- username: 'postgres',
- password: 'axiom'
- )
- ActiveRecord::Schema.define do
- create_table :xmldata, force: true do |t|
- t.text :xmlstr
- end
- end
Add Comment
Please, Sign In to add comment