Created
February 7, 2009 00:58
-
-
Save tjhanley/59709 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a9753966872890154599fb9a0eb22a3fbe697515 Mon Sep 17 00:00:00 2001 | |
From: CORP\thanley <[email protected]> | |
Date: Wed, 14 Jan 2009 13:38:49 -0800 | |
Subject: [PATCH] Documented MasterDatabase inheritance for Models for Passenger. | |
--- | |
README.markdown | 3 +++ | |
1 files changed, 3 insertions(+), 0 deletions(-) | |
diff --git a/README.markdown b/README.markdown | |
index e97e2ff..4a5b77a 100644 | |
--- a/README.markdown | |
+++ b/README.markdown | |
@@ -78,6 +78,9 @@ the `setup!` call if your connection hasn't been initialized, like: | |
prepend_before_filter do |controller| | |
unless ActiveRecord::Base.connection.is_a? ActiveReload::ConnectionProxy | |
ActiveReload::ConnectionProxy.setup! | |
+ #Any Model you want to inherit MasterDatabase only eg: Session | |
+ class Session < ActiveReload::MasterDatabase | |
+ end | |
end | |
end | |
-- | |
1.6.0.2+GitX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment