Permalink
Browse files

Remove definition of reloadable? from ActiveRecord::Base to make way …

…for new Reloadable code.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 52b04e8 commit 1129e5b915fe007257447c61ca77843fb06b4c56 @seckar seckar committed Feb 2, 2006
Showing with 2 additions and 8 deletions.
  1. +2 −0 activerecord/CHANGELOG
  2. +0 −8 activerecord/lib/active_record/base.rb
View
2 activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Remove definition of reloadable? from ActiveRecord::Base to make way for new Reloadable code. [Nicholas Seckar]
+
* Fixed schema handling for DB2 adapter that didn't work: an initial schema could be set, but it wasn't used when getting tables and indexes #3678 [Maik Schmidt]
* Support the :column option for remove_index with the PostgreSQL adapter. #3661 [shugo@ruby-lang.org]
View
8 activerecord/lib/active_record/base.rb
@@ -251,14 +251,6 @@ def self.inherited(child) #:nodoc:
super
end
- # Allow all subclasses of AR::Base to be reloaded in dev mode, unless they
- # explicitly decline the honor. USE WITH CAUTION. Only AR subclasses kept
- # in the framework should use the flag, so #reset_subclasses and so forth
- # leave it alone.
- def self.reloadable? #:nodoc:
- true
- end
-
def self.reset_subclasses
nonreloadables = []
subclasses.each do |klass|

0 comments on commit 1129e5b

Please sign in to comment.