This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Robby Russell (author)
Sun Mar 02 18:26:47 -0800 2008
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Sun Mar 02 18:26:13 -0800 2008 | |
| |
README | Sun Mar 02 18:26:47 -0800 2008 | |
| |
init.rb | Fri Oct 05 15:41:57 -0700 2007 | |
| |
lib/ | Fri Oct 05 15:41:57 -0700 2007 |
README
ActiveDelegate ============== Provides ActiveRecord with the ability to talk to multiple databases from a single model. # app/models/master_database.rb class MasterDatabase < ActiveRecord::Base handles_connection_for :master_database # <-- this matches the key from our database.yml end # app/models/animal.rb class Animal < ActiveRecord::Base delegates_connection_to :master_database, :on => [:create, :save, :destroy] end TODO: Add more documentation







