Skip to content
Browse files

Just go with Subclasses instead of OnlySubclasses

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent ed08086 commit 5cbc062c8ad82271de11ae245d2bdaeffc0c4da7 @dhh dhh committed
View
2 actionmailer/lib/action_mailer/base.rb
@@ -123,7 +123,7 @@ class Base
# Action Mailer subclasses should be reloaded by the dispatcher in Rails
# when Dependencies.mechanism = :load.
- include Reloadable::OnlySubclasses
+ include Reloadable::Subclasses
private_class_method :new #:nodoc:
View
2 actionpack/lib/action_controller/base.rb
@@ -225,7 +225,7 @@ def initialize(message = nil)
class Base
DEFAULT_RENDER_STATUS_CODE = "200 OK"
- include Reloadable::OnlySubclasses
+ include Reloadable::Subclasses
# Determines whether the view has access to controller internals @request, @response, @session, and @template.
# By default, it does.
View
2 activerecord/lib/active_record/observer.rb
@@ -83,7 +83,7 @@ class Observer
# Observer subclasses should be reloaded by the dispatcher in Rails
# when Dependencies.mechanism = :load.
- include Reloadable::OnlySubclasses
+ include Reloadable::Subclasses
# Attaches the observer to the supplied model classes.
def self.observe(*models)
View
4 activesupport/CHANGELOG
@@ -6,9 +6,9 @@
* Remove LoadingModule. [Nicholas Seckar]
-* Add documentation for Reloadable::OnlySubclasses. [Nicholas Seckar]
+* Add documentation for Reloadable::Subclasses. [Nicholas Seckar]
-* Add Reloadable::OnlySubclasses which handles the common case where a base class should not be reloaded, but its subclasses should be. [Nicholas Seckar]
+* Add Reloadable::Subclasses which handles the common case where a base class should not be reloaded, but its subclasses should be. [Nicholas Seckar]
* Further improvements to reloading code [Nicholas Seckar, Trevor Squires]

0 comments on commit 5cbc062

Please sign in to comment.
Something went wrong with that request. Please try again.