Skip to content

Instantly share code, notes, and snippets.

View mattman's full-sized avatar

Matt Didcoe mattman

View GitHub Profile
class LegacyBase < ActiveRecord::Base
establish_connection(
:adapter => "mysql",
:host => "localhost",
:username => "",
:password => "",
:database => "ws_prosecutions"
)
end
@mattman
mattman / README
Created June 16, 2009 09:33 — forked from ocean/README
The below Sinatra code works with URLs like:
/c/blahblah
and
/c/http://blah.com/something.php
or
/c/google.com