Skip to content

Instantly share code, notes, and snippets.

@Mikr0Tik
Created March 31, 2010 07:58
Show Gist options
  • Save Mikr0Tik/350067 to your computer and use it in GitHub Desktop.
Save Mikr0Tik/350067 to your computer and use it in GitHub Desktop.
class Job < ActiveRecord::Base
has_and_belongs_to_many :sources
end
class Source < ActiveRecord::Base
establish_connection :source_db
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment