mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Just go with Subclasses instead of OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
ed080863d5
commit
5cbc062c8a
4 changed files with 5 additions and 5 deletions
|
@ -123,7 +123,7 @@ module ActionMailer
|
|||
|
||||
# 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:
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ module ActionController #:nodoc:
|
|||
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.
|
||||
|
|
|
@ -83,7 +83,7 @@ module ActiveRecord
|
|||
|
||||
# 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)
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue