Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/env ruby
- require 'rubygems'
- require 'activerecord'
- # require 'activesupport'
- require 'pp'
- require 'logger'
- ActiveRecord::Base.establish_connection(
- :adapter => "mysql",
- :host => "fobar",
- :database => "fobase",
- :username => "bla",
- :password => "bl4h"
- )
- # logs to stdout
- # ActiveRecord::Base.logger = Logger.new(STDOUT)
- class Customer < ActiveRecord::Base
- end
Add Comment
Please, Sign In to add comment