Changeset 7475
- Timestamp:
- 09/14/07 01:00:32 (1 year ago)
- Files:
-
- trunk/actionpack/lib/action_controller/caching.rb (modified) (1 diff)
- trunk/actionwebservice/lib/action_web_service/api.rb (modified) (1 diff)
- trunk/actionwebservice/lib/action_web_service/base.rb (modified) (1 diff)
- trunk/actionwebservice/lib/action_web_service/struct.rb (modified) (1 diff)
- trunk/railties/lib/dispatcher.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/caching.rb
r7427 r7475 613 613 attr_accessor :controller 614 614 615 # ActiveRecord::Observer will mark this class as reloadable even though it should not be.616 # However, subclasses of ActionController::Caching::Sweeper should be Reloadable617 include Reloadable::Deprecated618 619 615 def before(controller) 620 616 self.controller = controller trunk/actionwebservice/lib/action_web_service/api.rb
r6037 r7475 15 15 # of use. 16 16 class Base 17 # Action WebService API subclasses should be reloaded by the dispatcher in Rails18 # when Dependencies.mechanism = :load.19 include Reloadable::Deprecated20 21 17 # Whether to transform the public API method names into camel-cased names 22 18 class_inheritable_option :inflect_names, true trunk/actionwebservice/lib/action_web_service/base.rb
r4898 r7475 32 32 # end 33 33 class Base 34 # Action WebService subclasses should be reloaded by the dispatcher in Rails35 # when Dependencies.mechanism = :load.36 include Reloadable::Deprecated37 38 34 # Whether to report exceptions back to the caller in the protocol's exception 39 35 # format trunk/actionwebservice/lib/action_web_service/struct.rb
r4728 r7475 20 20 # signatures. 21 21 class Struct 22 # Action WebService Struct subclasses should be reloaded by the dispatcher in Rails23 # when Dependencies.mechanism = :load.24 include Reloadable::Deprecated25 26 22 # If a Hash is given as argument to an ActionWebService::Struct constructor, 27 23 # it can contain initial values for the structure member. trunk/railties/lib/dispatcher.rb
r7425 r7475 56 56 57 57 Dependencies.clear 58 ActiveSupport::Deprecation.silence do # TODO: Remove after 1.2 59 Class.remove_class(*Reloadable.reloadable_classes) 60 end 61 58 62 59 ActiveRecord::Base.clear_reloadable_connections! if defined?(ActiveRecord) 63 60 end 64 61 65 62 # Add a preparation callback. Preparation callbacks are run before every 66 63 # request in development mode, and before the first request in production