Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'fileutils'
- require 'active_record'
- puts "connecting..."
- ActiveRecord::Base.establish_connection(
- :adapter => "mysql",
- :host => "localhost",
- :username => "ruby",
- :password => "password",
- :database => "rss"
- )
- puts "...connected"
- ####query rss database here
Add Comment
Please, Sign In to add comment