aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-29 21:26:20 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-29 21:26:20 +0000
commitfa1f5e062ec621238b0a36c6093329429d2a218b (patch)
tree5eecb8b3679dc0fa90c356eafc8224489672c3ec /activerecord/lib/active_record/base.rb
parent595a4a591b6f4f863d52e28046e2fc1c51dfcad5 (diff)
downloadrails-fa1f5e062ec621238b0a36c6093329429d2a218b.tar.gz
rails-fa1f5e062ec621238b0a36c6093329429d2a218b.tar.bz2
rails-fa1f5e062ec621238b0a36c6093329429d2a218b.zip
Switch dispatcher to use the new shared Dependencies approach
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rwxr-xr-xactiverecord/lib/active_record/base.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 12f39c6985..e4283ac157 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -226,15 +226,6 @@ module ActiveRecord #:nodoc:
cattr_accessor :default_timezone
@@default_timezone = :local
- # When turned on (which is default), all associations are included using "load". This mean that any change is instant in cached
- # environments like mod_ruby or FastCGI. When set to false, "require" is used, which is faster but requires server restart to
- # reflect changes.
- @@reload_associations = true
- cattr_accessor :reload_associations
-
- @@associations_loaded = []
- cattr_accessor :associations_loaded
-
class << self # Class methods
# Returns objects for the records responding to either a specific id (1), a list of ids (1, 5, 6) or an array of ids.
# If only one ID is specified, that object is returned directly. If more than one ID is specified, an array is returned.