+ Ruby on Rails 8.0.3
diff --git a/src/classes/AbstractController/ActionNotFound.html b/src/classes/AbstractController/ActionNotFound.html
index 8fbf78e4b5..ee4ad23150 100644
--- a/src/classes/AbstractController/ActionNotFound.html
+++ b/src/classes/AbstractController/ActionNotFound.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/AbstractController/Base.html b/src/classes/AbstractController/Base.html
index e51989f50e..a8447d7d7e 100644
--- a/src/classes/AbstractController/Base.html
+++ b/src/classes/AbstractController/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -73,11 +73,11 @@ Methods
- controller_path
+ controller_path
- controller_path
+ controller_path
@@ -191,7 +191,7 @@
@abstract = true
end
- π See on GitHub
+ π See on GitHub
@@ -206,12 +206,7 @@
- A list of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
-
-Returns
--
-
Set - A set of all methods that should be considered actions.
-
+ A Set of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
@@ -226,7 +221,7 @@ Returns
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 97
+ # File actionpack/lib/abstract_controller/base.rb, line 93
def action_methods
@action_methods ||= begin
# All public instance methods of this class, including ancestors except for
@@ -239,7 +234,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -269,12 +264,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 112
+ # File actionpack/lib/abstract_controller/base.rb, line 108
def clear_action_methods!
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -297,11 +292,6 @@
MyApp::MyPostsController.controller_path # => "my_app/my_posts"
-
-Returns
--
-
String
-
@@ -316,12 +306,12 @@ Returns
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 127
+ # File actionpack/lib/abstract_controller/base.rb, line 120
def controller_path
@controller_path ||= name.delete_suffix("Controller").underscore unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -364,7 +354,7 @@
controller.public_instance_methods(true) - methods
end
- π See on GitHub
+ π See on GitHub
@@ -394,13 +384,13 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 132
+ # File actionpack/lib/abstract_controller/base.rb, line 125
def method_added(name)
super
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +405,7 @@
- Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
+ Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
@@ -430,12 +420,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 200
+ # File actionpack/lib/abstract_controller/base.rb, line 189
def self.supports_path?
true
end
- π See on GitHub
+ π See on GitHub
@@ -469,12 +459,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 172
+ # File actionpack/lib/abstract_controller/base.rb, line 161
def action_methods
self.class.action_methods
end
- π See on GitHub
+ π See on GitHub
@@ -508,7 +498,7 @@
attr_internal :action_name
- π See on GitHub
+ π See on GitHub
@@ -529,7 +519,7 @@
Parameters
-
-
action_name - The name of an action to be tested
+action_name - The name of an action to be tested
@@ -545,12 +535,12 @@ Parameters
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 187
+ # File actionpack/lib/abstract_controller/base.rb, line 176
def available_action?(action_name)
_find_action_name(action_name)
end
- π See on GitHub
+ π See on GitHub
@@ -580,12 +570,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 167
+ # File actionpack/lib/abstract_controller/base.rb, line 156
def controller_path
self.class.controller_path
end
- π See on GitHub
+ π See on GitHub
@@ -619,7 +609,7 @@
attr_internal :formats
- π See on GitHub
+ π See on GitHub
@@ -649,12 +639,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 193
+ # File actionpack/lib/abstract_controller/base.rb, line 182
def performed?
response_body
end
- π See on GitHub
+ π See on GitHub
@@ -672,11 +662,6 @@
Calls the action going through the entire Action Dispatch stack.
The actual method that is called is determined by calling method_for_action. If no method can handle the action, then an AbstractController::ActionNotFound error is raised.
-
-Returns
--
-
self
-
@@ -691,7 +676,7 @@ Returns
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 154
+ # File actionpack/lib/abstract_controller/base.rb, line 143
def process(action, ...)
@_action_name = action.to_s
@@ -704,7 +689,7 @@ Returns
process_action(action_name, ...)
end
- π See on GitHub
+ π See on GitHub
@@ -738,7 +723,7 @@
attr_internal :response_body
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching.html b/src/classes/AbstractController/Caching.html
index db2ba5c3f8..2b05dfa51a 100644
--- a/src/classes/AbstractController/Caching.html
+++ b/src/classes/AbstractController/Caching.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -131,7 +131,7 @@
self.class._view_cache_dependencies.filter_map { |dep| instance_exec(&dep) }
end
- π See on GitHub
+ π See on GitHub
@@ -173,7 +173,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ClassMethods.html b/src/classes/AbstractController/Caching/ClassMethods.html
index caa992d373..37a03f3ed8 100644
--- a/src/classes/AbstractController/Caching/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -86,7 +86,7 @@
self._view_cache_dependencies += [dependency]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ConfigMethods.html b/src/classes/AbstractController/Caching/ConfigMethods.html
index 6069b6ab85..4a9c3f511e 100644
--- a/src/classes/AbstractController/Caching/ConfigMethods.html
+++ b/src/classes/AbstractController/Caching/ConfigMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
config.cache_store
end
- π See on GitHub
+ π See on GitHub
@@ -125,7 +125,7 @@
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments.html b/src/classes/AbstractController/Caching/Fragments.html
index 9da1752597..aec45d3588 100644
--- a/src/classes/AbstractController/Caching/Fragments.html
+++ b/src/classes/AbstractController/Caching/Fragments.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
@@ -412,7 +412,7 @@
- π See on GitHub
+ π See on GitHub
@@ -438,7 +438,7 @@
- π See on GitHub
+ π See on GitHub
@@ -462,7 +462,7 @@
- π See on GitHub
+ π See on GitHub
@@ -486,7 +486,7 @@
- π See on GitHub
+ π See on GitHub
@@ -510,7 +510,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Collector.html b/src/classes/AbstractController/Collector.html
index 6210daa133..de36a8ca50 100644
--- a/src/classes/AbstractController/Collector.html
+++ b/src/classes/AbstractController/Collector.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
RUBY
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/DoubleRenderError.html b/src/classes/AbstractController/DoubleRenderError.html
index eb792a3ae8..f5e7f90ffa 100644
--- a/src/classes/AbstractController/DoubleRenderError.html
+++ b/src/classes/AbstractController/DoubleRenderError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -104,7 +104,7 @@
super(message || DEFAULT_MESSAGE)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers.html b/src/classes/AbstractController/Helpers.html
index e4367548da..7da7f79023 100644
--- a/src/classes/AbstractController/Helpers.html
+++ b/src/classes/AbstractController/Helpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class._helpers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers/ClassMethods.html b/src/classes/AbstractController/Helpers/ClassMethods.html
index c2c22d173d..4843eda008 100644
--- a/src/classes/AbstractController/Helpers/ClassMethods.html
+++ b/src/classes/AbstractController/Helpers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
@@ -155,7 +155,7 @@
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Railties.html b/src/classes/AbstractController/Railties.html
index 828a38dd78..fbd8eb5f27 100644
--- a/src/classes/AbstractController/Railties.html
+++ b/src/classes/AbstractController/Railties.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
diff --git a/src/classes/AbstractController/Base.html b/src/classes/AbstractController/Base.html
index e51989f50e..a8447d7d7e 100644
--- a/src/classes/AbstractController/Base.html
+++ b/src/classes/AbstractController/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -73,11 +73,11 @@ Methods
- controller_path
+ controller_path
- controller_path
+ controller_path
@@ -191,7 +191,7 @@
@abstract = true
end
- π See on GitHub
+ π See on GitHub
@@ -206,12 +206,7 @@
- A list of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
-
-Returns
--
-
Set - A set of all methods that should be considered actions.
-
+ A Set of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
@@ -226,7 +221,7 @@ Returns
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 97
+ # File actionpack/lib/abstract_controller/base.rb, line 93
def action_methods
@action_methods ||= begin
# All public instance methods of this class, including ancestors except for
@@ -239,7 +234,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -269,12 +264,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 112
+ # File actionpack/lib/abstract_controller/base.rb, line 108
def clear_action_methods!
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -297,11 +292,6 @@
MyApp::MyPostsController.controller_path # => "my_app/my_posts"
-
-Returns
--
-
String
-
@@ -316,12 +306,12 @@ Returns
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 127
+ # File actionpack/lib/abstract_controller/base.rb, line 120
def controller_path
@controller_path ||= name.delete_suffix("Controller").underscore unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -364,7 +354,7 @@
controller.public_instance_methods(true) - methods
end
- π See on GitHub
+ π See on GitHub
@@ -394,13 +384,13 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 132
+ # File actionpack/lib/abstract_controller/base.rb, line 125
def method_added(name)
super
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +405,7 @@
- Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
+ Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
@@ -430,12 +420,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 200
+ # File actionpack/lib/abstract_controller/base.rb, line 189
def self.supports_path?
true
end
- π See on GitHub
+ π See on GitHub
@@ -469,12 +459,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 172
+ # File actionpack/lib/abstract_controller/base.rb, line 161
def action_methods
self.class.action_methods
end
- π See on GitHub
+ π See on GitHub
@@ -508,7 +498,7 @@
attr_internal :action_name
- π See on GitHub
+ π See on GitHub
@@ -529,7 +519,7 @@
Parameters
-
-
action_name - The name of an action to be tested
+action_name - The name of an action to be tested
@@ -545,12 +535,12 @@ Parameters
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 187
+ # File actionpack/lib/abstract_controller/base.rb, line 176
def available_action?(action_name)
_find_action_name(action_name)
end
- π See on GitHub
+ π See on GitHub
@@ -580,12 +570,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 167
+ # File actionpack/lib/abstract_controller/base.rb, line 156
def controller_path
self.class.controller_path
end
- π See on GitHub
+ π See on GitHub
@@ -619,7 +609,7 @@
attr_internal :formats
- π See on GitHub
+ π See on GitHub
@@ -649,12 +639,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 193
+ # File actionpack/lib/abstract_controller/base.rb, line 182
def performed?
response_body
end
- π See on GitHub
+ π See on GitHub
@@ -672,11 +662,6 @@
Calls the action going through the entire Action Dispatch stack.
The actual method that is called is determined by calling method_for_action. If no method can handle the action, then an AbstractController::ActionNotFound error is raised.
-
-Returns
--
-
self
-
+ Ruby on Rails 8.0.3
@@ -73,11 +73,11 @@ Methods
@abstract = true
end
- π See on GitHub
+ π See on GitHub
@@ -206,12 +206,7 @@
- A list of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
-
-Returns
--
-
Set - A set of all methods that should be considered actions.
-
+ A Set of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
@@ -226,7 +221,7 @@ Returns
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 97
+ # File actionpack/lib/abstract_controller/base.rb, line 93
def action_methods
@action_methods ||= begin
# All public instance methods of this class, including ancestors except for
@@ -239,7 +234,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -269,12 +264,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 112
+ # File actionpack/lib/abstract_controller/base.rb, line 108
def clear_action_methods!
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -297,11 +292,6 @@
MyApp::MyPostsController.controller_path # => "my_app/my_posts"
-
-Returns
--
-
String
-
A list of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
Returns
--
-
-Set- A set of all methods that should be considered actions.
A Set of method names that should be considered actions. This includes all public instance methods on a controller, less any internal methods (see internal_methods), adding back in any methods that are internal, but still exist on the class itself.
Returns
π Source code -# File actionpack/lib/abstract_controller/base.rb, line 97
+ # File actionpack/lib/abstract_controller/base.rb, line 93
def action_methods
@action_methods ||= begin
# All public instance methods of this class, including ancestors except for
@@ -239,7 +234,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -269,12 +264,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 112
+ # File actionpack/lib/abstract_controller/base.rb, line 108
def clear_action_methods!
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -297,11 +292,6 @@
MyApp::MyPostsController.controller_path # => "my_app/my_posts"
-
-Returns
--
-
String
-
Returns
π Source code -# File actionpack/lib/abstract_controller/base.rb, line 127
+ # File actionpack/lib/abstract_controller/base.rb, line 120
def controller_path
@controller_path ||= name.delete_suffix("Controller").underscore unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -364,7 +354,7 @@
controller.public_instance_methods(true) - methods
end
- π See on GitHub
+ π See on GitHub
@@ -394,13 +384,13 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 132
+ # File actionpack/lib/abstract_controller/base.rb, line 125
def method_added(name)
super
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +405,7 @@
- Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
+ Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
@@ -430,12 +420,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 200
+ # File actionpack/lib/abstract_controller/base.rb, line 189
def self.supports_path?
true
end
- π See on GitHub
+ π See on GitHub
@@ -469,12 +459,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 172
+ # File actionpack/lib/abstract_controller/base.rb, line 161
def action_methods
self.class.action_methods
end
- π See on GitHub
+ π See on GitHub
@@ -508,7 +498,7 @@
attr_internal :action_name
- π See on GitHub
+ π See on GitHub
@@ -529,7 +519,7 @@
Parameters
-
-
action_name - The name of an action to be tested
+action_name - The name of an action to be tested
# File actionpack/lib/abstract_controller/base.rb, line 132
+ # File actionpack/lib/abstract_controller/base.rb, line 125
def method_added(name)
super
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +405,7 @@
- Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
+ Returns true if the given controller is capable of rendering a path. A subclass of AbstractController::Base may return false. An Email controller for example does not support paths, only full URLs.
@@ -430,12 +420,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 200
+ # File actionpack/lib/abstract_controller/base.rb, line 189
def self.supports_path?
true
end
- π See on GitHub
+ π See on GitHub
@@ -469,12 +459,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 172
+ # File actionpack/lib/abstract_controller/base.rb, line 161
def action_methods
self.class.action_methods
end
- π See on GitHub
+ π See on GitHub
@@ -508,7 +498,7 @@
attr_internal :action_name
- π See on GitHub
+ π See on GitHub
@@ -529,7 +519,7 @@
Parameters
-
-
action_name - The name of an action to be tested
+action_name - The name of an action to be tested
# File actionpack/lib/abstract_controller/base.rb, line 187
+ # File actionpack/lib/abstract_controller/base.rb, line 176
def available_action?(action_name)
_find_action_name(action_name)
end
- π See on GitHub
+ π See on GitHub
@@ -580,12 +570,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 167
+ # File actionpack/lib/abstract_controller/base.rb, line 156
def controller_path
self.class.controller_path
end
- π See on GitHub
+ π See on GitHub
@@ -619,7 +609,7 @@
attr_internal :formats
- π See on GitHub
+ π See on GitHub
@@ -649,12 +639,12 @@
π Source code
- # File actionpack/lib/abstract_controller/base.rb, line 193
+ # File actionpack/lib/abstract_controller/base.rb, line 182
def performed?
response_body
end
- π See on GitHub
+ π See on GitHub
@@ -672,11 +662,6 @@
Calls the action going through the entire Action Dispatch stack.
The actual method that is called is determined by calling method_for_action. If no method can handle the action, then an AbstractController::ActionNotFound error is raised.
-
-Returns
--
-
self
-
Returns
π Source code -# File actionpack/lib/abstract_controller/base.rb, line 154
+ # File actionpack/lib/abstract_controller/base.rb, line 143
def process(action, ...)
@_action_name = action.to_s
@@ -704,7 +689,7 @@ Returns
process_action(action_name, ...)
end
- π See on GitHub
+ π See on GitHub
@@ -738,7 +723,7 @@
attr_internal :response_body
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching.html b/src/classes/AbstractController/Caching.html
index db2ba5c3f8..2b05dfa51a 100644
--- a/src/classes/AbstractController/Caching.html
+++ b/src/classes/AbstractController/Caching.html
@@ -5,7 +5,7 @@
+ Ruby on Rails 8.0.3
@@ -131,7 +131,7 @@
self.class._view_cache_dependencies.filter_map { |dep| instance_exec(&dep) }
end
- π See on GitHub
+ π See on GitHub
@@ -173,7 +173,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ClassMethods.html b/src/classes/AbstractController/Caching/ClassMethods.html
index caa992d373..37a03f3ed8 100644
--- a/src/classes/AbstractController/Caching/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -86,7 +86,7 @@
self._view_cache_dependencies += [dependency]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ConfigMethods.html b/src/classes/AbstractController/Caching/ConfigMethods.html
index 6069b6ab85..4a9c3f511e 100644
--- a/src/classes/AbstractController/Caching/ConfigMethods.html
+++ b/src/classes/AbstractController/Caching/ConfigMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
config.cache_store
end
- π See on GitHub
+ π See on GitHub
@@ -125,7 +125,7 @@
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments.html b/src/classes/AbstractController/Caching/Fragments.html
index 9da1752597..aec45d3588 100644
--- a/src/classes/AbstractController/Caching/Fragments.html
+++ b/src/classes/AbstractController/Caching/Fragments.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
@@ -412,7 +412,7 @@
- π See on GitHub
+ π See on GitHub
@@ -438,7 +438,7 @@
- π See on GitHub
+ π See on GitHub
@@ -462,7 +462,7 @@
- π See on GitHub
+ π See on GitHub
@@ -486,7 +486,7 @@
- π See on GitHub
+ π See on GitHub
@@ -510,7 +510,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Collector.html b/src/classes/AbstractController/Collector.html
index 6210daa133..de36a8ca50 100644
--- a/src/classes/AbstractController/Collector.html
+++ b/src/classes/AbstractController/Collector.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
RUBY
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/DoubleRenderError.html b/src/classes/AbstractController/DoubleRenderError.html
index eb792a3ae8..f5e7f90ffa 100644
--- a/src/classes/AbstractController/DoubleRenderError.html
+++ b/src/classes/AbstractController/DoubleRenderError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -104,7 +104,7 @@
super(message || DEFAULT_MESSAGE)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers.html b/src/classes/AbstractController/Helpers.html
index e4367548da..7da7f79023 100644
--- a/src/classes/AbstractController/Helpers.html
+++ b/src/classes/AbstractController/Helpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class._helpers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers/ClassMethods.html b/src/classes/AbstractController/Helpers/ClassMethods.html
index c2c22d173d..4843eda008 100644
--- a/src/classes/AbstractController/Helpers/ClassMethods.html
+++ b/src/classes/AbstractController/Helpers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
@@ -155,7 +155,7 @@
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Railties.html b/src/classes/AbstractController/Railties.html
index 828a38dd78..fbd8eb5f27 100644
--- a/src/classes/AbstractController/Railties.html
+++ b/src/classes/AbstractController/Railties.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ClassMethods.html b/src/classes/AbstractController/Caching/ClassMethods.html
index caa992d373..37a03f3ed8 100644
--- a/src/classes/AbstractController/Caching/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -86,7 +86,7 @@
self._view_cache_dependencies += [dependency]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ConfigMethods.html b/src/classes/AbstractController/Caching/ConfigMethods.html
index 6069b6ab85..4a9c3f511e 100644
--- a/src/classes/AbstractController/Caching/ConfigMethods.html
+++ b/src/classes/AbstractController/Caching/ConfigMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
config.cache_store
end
- π See on GitHub
+ π See on GitHub
@@ -125,7 +125,7 @@
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments.html b/src/classes/AbstractController/Caching/Fragments.html
index 9da1752597..aec45d3588 100644
--- a/src/classes/AbstractController/Caching/Fragments.html
+++ b/src/classes/AbstractController/Caching/Fragments.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
@@ -412,7 +412,7 @@
- π See on GitHub
+ π See on GitHub
@@ -438,7 +438,7 @@
- π See on GitHub
+ π See on GitHub
@@ -462,7 +462,7 @@
- π See on GitHub
+ π See on GitHub
@@ -486,7 +486,7 @@
- π See on GitHub
+ π See on GitHub
@@ -510,7 +510,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Collector.html b/src/classes/AbstractController/Collector.html
index 6210daa133..de36a8ca50 100644
--- a/src/classes/AbstractController/Collector.html
+++ b/src/classes/AbstractController/Collector.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
RUBY
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/DoubleRenderError.html b/src/classes/AbstractController/DoubleRenderError.html
index eb792a3ae8..f5e7f90ffa 100644
--- a/src/classes/AbstractController/DoubleRenderError.html
+++ b/src/classes/AbstractController/DoubleRenderError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -104,7 +104,7 @@
super(message || DEFAULT_MESSAGE)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers.html b/src/classes/AbstractController/Helpers.html
index e4367548da..7da7f79023 100644
--- a/src/classes/AbstractController/Helpers.html
+++ b/src/classes/AbstractController/Helpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class._helpers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers/ClassMethods.html b/src/classes/AbstractController/Helpers/ClassMethods.html
index c2c22d173d..4843eda008 100644
--- a/src/classes/AbstractController/Helpers/ClassMethods.html
+++ b/src/classes/AbstractController/Helpers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
@@ -155,7 +155,7 @@
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Railties.html b/src/classes/AbstractController/Railties.html
index 828a38dd78..fbd8eb5f27 100644
--- a/src/classes/AbstractController/Railties.html
+++ b/src/classes/AbstractController/Railties.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -86,7 +86,7 @@
self._view_cache_dependencies += [dependency]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/ConfigMethods.html b/src/classes/AbstractController/Caching/ConfigMethods.html
index 6069b6ab85..4a9c3f511e 100644
--- a/src/classes/AbstractController/Caching/ConfigMethods.html
+++ b/src/classes/AbstractController/Caching/ConfigMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
config.cache_store
end
- π See on GitHub
+ π See on GitHub
@@ -125,7 +125,7 @@
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments.html b/src/classes/AbstractController/Caching/Fragments.html
index 9da1752597..aec45d3588 100644
--- a/src/classes/AbstractController/Caching/Fragments.html
+++ b/src/classes/AbstractController/Caching/Fragments.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
@@ -412,7 +412,7 @@
- π See on GitHub
+ π See on GitHub
@@ -438,7 +438,7 @@
- π See on GitHub
+ π See on GitHub
@@ -462,7 +462,7 @@
- π See on GitHub
+ π See on GitHub
@@ -486,7 +486,7 @@
- π See on GitHub
+ π See on GitHub
+ Ruby on Rails 8.0.3
@@ -90,7 +90,7 @@
config.cache_store
end
- π See on GitHub
+ π See on GitHub
@@ -125,7 +125,7 @@
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments.html b/src/classes/AbstractController/Caching/Fragments.html
index 9da1752597..aec45d3588 100644
--- a/src/classes/AbstractController/Caching/Fragments.html
+++ b/src/classes/AbstractController/Caching/Fragments.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
@@ -412,7 +412,7 @@
- π See on GitHub
+ π See on GitHub
@@ -438,7 +438,7 @@
- π See on GitHub
+ π See on GitHub
config.cache_store = ActiveSupport::Cache.lookup_store(*store)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments.html b/src/classes/AbstractController/Caching/Fragments.html
index 9da1752597..aec45d3588 100644
--- a/src/classes/AbstractController/Caching/Fragments.html
+++ b/src/classes/AbstractController/Caching/Fragments.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
@@ -412,7 +412,7 @@
- π See on GitHub
+ π See on GitHub
@@ -438,7 +438,7 @@
- π See on GitHub
+ π See on GitHub
+ Ruby on Rails 8.0.3
@@ -108,7 +108,7 @@
- Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
+ Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
@@ -134,7 +134,7 @@
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
Given a key (as described in expire_fragment), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with :views, followed by ENV["RAILS_CACHE_ID"] or ENV["RAILS_APP_VERSION"] if set, followed by any controller-wide key prefix values, ending with the specified key value.
cache_key
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -204,7 +204,7 @@
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
- Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
+ Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
@@ -229,7 +229,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -244,7 +244,7 @@
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
Check if a cached fragment from the location signified by key exists (see expire_fragment for acceptable formats).
- Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
+ Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
@@ -270,7 +270,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
Reads a cached fragment from the location signified by key (see expire_fragment for acceptable formats).
- Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Writes content to the location signified by key (see expire_fragment for acceptable formats).
@@ -312,7 +312,7 @@
content
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
index c75bc3ff4d..72e621dfb2 100644
--- a/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
+++ b/src/classes/AbstractController/Caching/Fragments/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
@@ -364,7 +364,7 @@
- π See on GitHub
+ π See on GitHub
@@ -388,7 +388,7 @@
- π See on GitHub
+ π See on GitHub
Writes content to the location signified by key (see expire_fragment for acceptable formats).
Writes content to the location signified by key (see expire_fragment for acceptable formats).
+ Ruby on Rails 8.0.3
@@ -102,7 +102,7 @@
self.fragment_cache_keys += [key || -> { value }]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Callbacks.html b/src/classes/AbstractController/Callbacks.html
index f2582460aa..004e24c63f 100644
--- a/src/classes/AbstractController/Callbacks.html
+++ b/src/classes/AbstractController/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
@@ -314,7 +314,7 @@
- π See on GitHub
+ π See on GitHub
@@ -338,7 +338,7 @@
- π See on GitHub
+ π See on GitHub
+ Ruby on Rails 8.0.3
diff --git a/src/classes/AbstractController/Callbacks/ClassMethods.html b/src/classes/AbstractController/Callbacks/ClassMethods.html
index 8a30960aea..a27d8c352f 100644
--- a/src/classes/AbstractController/Callbacks/ClassMethods.html
+++ b/src/classes/AbstractController/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
@@ -264,7 +264,7 @@
- π See on GitHub
+ π See on GitHub
@@ -288,7 +288,7 @@
- π See on GitHub
+ π See on GitHub
+ Ruby on Rails 8.0.3
@@ -159,7 +159,7 @@ Block Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -214,7 +214,7 @@ Options
_normalize_callback_option(options, :except, :unless)
end
- π See on GitHub
+ π See on GitHub
@@ -240,7 +240,7 @@
- π See on GitHub
+ π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
- π See on GitHub + π See on GitHub
+ Ruby on Rails 8.0.3
@@ -90,7 +90,7 @@
RUBY
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/DoubleRenderError.html b/src/classes/AbstractController/DoubleRenderError.html
index eb792a3ae8..f5e7f90ffa 100644
--- a/src/classes/AbstractController/DoubleRenderError.html
+++ b/src/classes/AbstractController/DoubleRenderError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -104,7 +104,7 @@
super(message || DEFAULT_MESSAGE)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers.html b/src/classes/AbstractController/Helpers.html
index e4367548da..7da7f79023 100644
--- a/src/classes/AbstractController/Helpers.html
+++ b/src/classes/AbstractController/Helpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class._helpers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers/ClassMethods.html b/src/classes/AbstractController/Helpers/ClassMethods.html
index c2c22d173d..4843eda008 100644
--- a/src/classes/AbstractController/Helpers/ClassMethods.html
+++ b/src/classes/AbstractController/Helpers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
@@ -155,7 +155,7 @@
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Railties.html b/src/classes/AbstractController/Railties.html
index 828a38dd78..fbd8eb5f27 100644
--- a/src/classes/AbstractController/Railties.html
+++ b/src/classes/AbstractController/Railties.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -104,7 +104,7 @@
super(message || DEFAULT_MESSAGE)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers.html b/src/classes/AbstractController/Helpers.html
index e4367548da..7da7f79023 100644
--- a/src/classes/AbstractController/Helpers.html
+++ b/src/classes/AbstractController/Helpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class._helpers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers/ClassMethods.html b/src/classes/AbstractController/Helpers/ClassMethods.html
index c2c22d173d..4843eda008 100644
--- a/src/classes/AbstractController/Helpers/ClassMethods.html
+++ b/src/classes/AbstractController/Helpers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
@@ -155,7 +155,7 @@
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Railties.html b/src/classes/AbstractController/Railties.html
index 828a38dd78..fbd8eb5f27 100644
--- a/src/classes/AbstractController/Railties.html
+++ b/src/classes/AbstractController/Railties.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -99,7 +99,7 @@
self.class._helpers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Helpers/ClassMethods.html b/src/classes/AbstractController/Helpers/ClassMethods.html
index c2c22d173d..4843eda008 100644
--- a/src/classes/AbstractController/Helpers/ClassMethods.html
+++ b/src/classes/AbstractController/Helpers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
@@ -155,7 +155,7 @@
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Railties.html b/src/classes/AbstractController/Railties.html
index 828a38dd78..fbd8eb5f27 100644
--- a/src/classes/AbstractController/Railties.html
+++ b/src/classes/AbstractController/Railties.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -119,7 +119,7 @@
- π See on GitHub
+ π See on GitHub
_helpers
end
- π See on GitHub
+ π See on GitHub
@@ -195,7 +195,7 @@
default_helper_module! unless anonymous?
end
- π See on GitHub
+ π See on GitHub
@@ -283,7 +283,7 @@
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
_helpers_for_modification.module_eval(&block) if block_given?
end
- π See on GitHub
+ π See on GitHub
@@ -357,7 +357,7 @@ Parameters
end
end
- π See on GitHub
+ π See on GitHub
@@ -396,7 +396,7 @@
super
end
- π See on GitHub
+ π See on GitHub
@@ -426,7 +426,7 @@
- π See on GitHub
+ π See on GitHub
- π See on GitHub + π See on GitHub
+ Ruby on Rails 8.0.3
diff --git a/src/classes/AbstractController/Railties/RoutesHelpers.html b/src/classes/AbstractController/Railties/RoutesHelpers.html
index b779e0b330..3836f09bce 100644
--- a/src/classes/AbstractController/Railties/RoutesHelpers.html
+++ b/src/classes/AbstractController/Railties/RoutesHelpers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -95,7 +95,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Rendering.html b/src/classes/AbstractController/Rendering.html
index 3a1d0b236e..8952a3dd52 100644
--- a/src/classes/AbstractController/Rendering.html
+++ b/src/classes/AbstractController/Rendering.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -123,7 +123,7 @@
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
-Supported options depend on the underlying render_to_body implementation.
+Supported options depend on the underlying render_to_body implementation.
@@ -151,7 +151,7 @@
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
Normalizes arguments and options, and then delegates to render_to_body and sticks the result in self.response_body.
Supported options depend on the underlying render_to_body implementation.
Supported options depend on the underlying render_to_body implementation.
self.response_body = rendered_body
end
- π See on GitHub
+ π See on GitHub
@@ -185,7 +185,7 @@
def render_to_body(options = {})
end
- π See on GitHub
+ π See on GitHub
@@ -223,7 +223,7 @@
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
render_to_body(options)
end
- π See on GitHub
+ π See on GitHub
@@ -258,7 +258,7 @@
Mime[:text]
end
- π See on GitHub
+ π See on GitHub
@@ -297,7 +297,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
end
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -380,7 +380,7 @@
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
options
end
- π See on GitHub
+ π See on GitHub
@@ -415,7 +415,7 @@
options
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/Translation.html b/src/classes/AbstractController/Translation.html
index 8a1693bfd3..ee2860c7d3 100644
--- a/src/classes/AbstractController/Translation.html
+++ b/src/classes/AbstractController/Translation.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -127,7 +127,7 @@
I18n.localize(object, **options)
end
- π See on GitHub
+ π See on GitHub
@@ -207,7 +207,7 @@
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
ActiveSupport::HtmlSafeTranslation.translate(key, **options)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor.html b/src/classes/AbstractController/UrlFor.html
index 433ab41936..066fd2dfec 100644
--- a/src/classes/AbstractController/UrlFor.html
+++ b/src/classes/AbstractController/UrlFor.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -124,7 +124,7 @@
"For instance, `include Rails.application.routes.url_helpers`."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/AbstractController/UrlFor/ClassMethods.html b/src/classes/AbstractController/UrlFor/ClassMethods.html
index 8eb5a7a019..41b22c61eb 100644
--- a/src/classes/AbstractController/UrlFor/ClassMethods.html
+++ b/src/classes/AbstractController/UrlFor/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -90,7 +90,7 @@
nil
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable.html b/src/classes/ActionCable.html
index 1974635b54..14b6d6f60f 100644
--- a/src/classes/ActionCable.html
+++ b/src/classes/ActionCable.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -129,7 +129,7 @@ Support
-Feature requests should be discussed on the rails-core mailing list here:
+Feature requests should be discussed on the rubyonrails-core forum here:
@@ -271,7 +271,7 @@
Gem::Version.new VERSION::STRING
end
- π See on GitHub
+ π See on GitHub
@@ -306,7 +306,7 @@
gem_version
end
- π See on GitHub
+ π See on GitHub
@@ -345,7 +345,7 @@
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
@server ||= ActionCable::Server::Base.new
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel.html b/src/classes/ActionCable/Channel.html
index 39bffb9aaf..25f65214f1 100644
--- a/src/classes/ActionCable/Channel.html
+++ b/src/classes/ActionCable/Channel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
diff --git a/src/classes/ActionCable/Channel/Base.html b/src/classes/ActionCable/Channel/Base.html
index 488ca1fce1..e0b8fcdf64 100644
--- a/src/classes/ActionCable/Channel/Base.html
+++ b/src/classes/ActionCable/Channel/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
+In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
@@ -319,7 +319,7 @@ Returns
end
end
- π See on GitHub
+ π See on GitHub
@@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
+ Ruby on Rails 8.0.3
@@ -82,7 +82,7 @@ Action process
end
-
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but #appear and #away are. #generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. #away does not, since itβs simply a trigger action.
In this example, the subscribed and unsubscribed methods are not callable methods, as they were already declared in ActionCable::Channel::Base, but appear and away are. generate_connection_token is also not callable, since itβs a private method. Youβll see that appear accepts a data parameter, which it then uses as part of its model call. away does not, since itβs simply a trigger action.
Also note that in this example, current_user is available because it was marked as an identifying attribute on the connection. All such identifiers will automatically create a delegation method of the same name on the channel instance.
Returns
end end - π See on GitHub + π See on GitHub @@ -363,11 +363,12 @@
@reject_subscription = nil
@subscription_confirmation_sent = nil
+ @unsubscribed = false
delegate_connection_identifiers
end
- π See on GitHub
+ π See on GitHub
@@ -405,7 +406,7 @@
@action_methods = nil
end
- π See on GitHub
+ π See on GitHub
@@ -441,7 +442,7 @@
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
clear_action_methods!
end
- π See on GitHub
+ π See on GitHub
@@ -475,7 +476,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-
# File actioncable/lib/action_cable/channel/base.rb, line 175
+ # File actioncable/lib/action_cable/channel/base.rb, line 176
def perform_action(data)
action = extract_action(data)
@@ -489,7 +490,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -519,7 +520,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 190
+ # File actioncable/lib/action_cable/channel/base.rb, line 191
def subscribe_to_channel
run_callbacks :subscribe do
subscribed
@@ -529,7 +530,7 @@
ensure_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -562,12 +563,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 244
+ # File actioncable/lib/action_cable/channel/base.rb, line 250
def defer_subscription_confirmation! # :doc:
@defer_subscription_confirmation_counter.increment
end
- π See on GitHub
+ π See on GitHub
@@ -597,12 +598,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 248
+ # File actioncable/lib/action_cable/channel/base.rb, line 254
def defer_subscription_confirmation? # :doc:
@defer_subscription_confirmation_counter.value > 0
end
- π See on GitHub
+ π See on GitHub
@@ -632,14 +633,14 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 238
+ # File actioncable/lib/action_cable/channel/base.rb, line 244
def ensure_confirmation_sent # :doc:
return if subscription_rejected?
@defer_subscription_confirmation_counter.decrement
transmit_subscription_confirmation unless defer_subscription_confirmation?
end
- π See on GitHub
+ π See on GitHub
@@ -669,12 +670,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 256
+ # File actioncable/lib/action_cable/channel/base.rb, line 262
def reject # :doc:
@reject_subscription = true
end
- π See on GitHub
+ π See on GitHub
@@ -704,12 +705,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 212
+ # File actioncable/lib/action_cable/channel/base.rb, line 218
def subscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
@@ -739,12 +740,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 252
+ # File actioncable/lib/action_cable/channel/base.rb, line 258
def subscription_confirmation_sent? # :doc:
@subscription_confirmation_sent
end
- π See on GitHub
+ π See on GitHub
@@ -774,12 +775,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 260
+ # File actioncable/lib/action_cable/channel/base.rb, line 266
def subscription_rejected? # :doc:
@reject_subscription
end
- π See on GitHub
+ π See on GitHub
@@ -809,7 +810,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 225
+ # File actioncable/lib/action_cable/channel/base.rb, line 231
def transmit(data, via: nil) # :doc:
logger.debug do
status = "#{self.class.name} transmitting #{data.inspect.truncate(300)}"
@@ -823,7 +824,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -853,12 +854,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/base.rb, line 218
+ # File actioncable/lib/action_cable/channel/base.rb, line 224
def unsubscribed # :doc:
# Override in subclasses
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting.html b/src/classes/ActionCable/Channel/Broadcasting.html
index fec5df1150..d9583aea70 100644
--- a/src/classes/ActionCable/Channel/Broadcasting.html
+++ b/src/classes/ActionCable/Channel/Broadcasting.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
self.class.broadcast_to(model, message)
end
- π See on GitHub
+ π See on GitHub
@@ -138,7 +138,7 @@
self.class.broadcasting_for(model)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
index e1ed7b3f2b..168b02373c 100644
--- a/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Broadcasting/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
ActionCable.server.broadcast(broadcasting_for(model), message)
end
- π See on GitHub
+ π See on GitHub
@@ -130,7 +130,7 @@
serialize_broadcasting([ channel_name, model ])
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Callbacks.html b/src/classes/ActionCable/Channel/Callbacks.html
index 9414d8e4fc..9ce594c8ad 100644
--- a/src/classes/ActionCable/Channel/Callbacks.html
+++ b/src/classes/ActionCable/Channel/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
index a3692cd2f4..09940ca4af 100644
--- a/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -115,7 +115,7 @@
set_callback(:subscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -154,7 +154,7 @@
set_callback(:unsubscribe, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -189,7 +189,7 @@
set_callback(:subscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -224,7 +224,7 @@
set_callback(:unsubscribe, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ChannelStub.html b/src/classes/ActionCable/Channel/ChannelStub.html
index ce5c94a85a..543093237d 100644
--- a/src/classes/ActionCable/Channel/ChannelStub.html
+++ b/src/classes/ActionCable/Channel/ChannelStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -25,7 +25,7 @@
Action Cable Channel Stub
-
Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
+Stub stream_from to track streams for the channel. Add public aliases for subscription_confirmation_sent? and subscription_rejected?.
@@ -118,7 +118,7 @@
subscription_confirmation_sent?
end
- π See on GitHub
+ π See on GitHub
@@ -153,7 +153,7 @@
subscription_rejected?
end
- π See on GitHub
+ π See on GitHub
@@ -190,7 +190,7 @@
# File actioncable/lib/action_cable/channel/test_case.rb, line 46
def start_periodic_timers; end
- π See on GitHub
+ π See on GitHub
@@ -225,7 +225,7 @@
@_streams = []
end
- π See on GitHub
+ π See on GitHub
@@ -285,7 +285,7 @@
streams << broadcasting
end
- π See on GitHub
+ π See on GitHub
@@ -320,7 +320,7 @@
@_streams ||= []
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/ConnectionStub.html b/src/classes/ActionCable/Channel/ConnectionStub.html
index 822bc248e8..70071eeabe 100644
--- a/src/classes/ActionCable/Channel/ConnectionStub.html
+++ b/src/classes/ActionCable/Channel/ConnectionStub.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -154,7 +154,7 @@
@logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new)
end
- π See on GitHub
+ π See on GitHub
@@ -193,7 +193,7 @@
@connection_identifier ||= connection_gid(identifiers.filter_map { |id| send(id.to_sym) if id })
end
- π See on GitHub
+ π See on GitHub
@@ -228,7 +228,7 @@
transmissions << cable_message.with_indifferent_access
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming.html b/src/classes/ActionCable/Channel/Naming.html
index 7ca33bd523..6c7d5711ce 100644
--- a/src/classes/ActionCable/Channel/Naming.html
+++ b/src/classes/ActionCable/Channel/Naming.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -99,7 +99,7 @@
self.class.channel_name
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Naming/ClassMethods.html b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
index 943d633635..f881896164 100644
--- a/src/classes/ActionCable/Channel/Naming/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/Naming/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -66,7 +66,7 @@
- Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
+ Returns the name of the channel, underscored, without the Channel ending. If the channel is in a namespace, then the namespaces are represented by single colon separators in the channel name.
ChatChannel.channel_name # => 'chat'
Chats::AppearancesChannel.channel_name # => 'chats:appearances'
@@ -91,7 +91,7 @@
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/NonInferrableChannelError.html b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
index 63ffb0a08f..94005aecba 100644
--- a/src/classes/ActionCable/Channel/NonInferrableChannelError.html
+++ b/src/classes/ActionCable/Channel/NonInferrableChannelError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers.html b/src/classes/ActionCable/Channel/PeriodicTimers.html
index 4d50a4c47f..82489495cb 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
index aaa7f673af..06612ec2c7 100644
--- a/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/PeriodicTimers/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -114,7 +114,7 @@
self.periodic_timers += [[ callback, every: every ]]
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/Streams.html b/src/classes/ActionCable/Channel/Streams.html
index 84839d6b92..267f9a2b42 100644
--- a/src/classes/ActionCable/Channel/Streams.html
+++ b/src/classes/ActionCable/Channel/Streams.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -166,7 +166,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 135
+ # File actioncable/lib/action_cable/channel/streams.rb, line 137
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe broadcasting, callback
@@ -174,7 +174,7 @@
end.clear
end
- π See on GitHub
+ π See on GitHub
@@ -204,12 +204,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 130
+ # File actioncable/lib/action_cable/channel/streams.rb, line 132
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
- π See on GitHub
+ π See on GitHub
@@ -239,7 +239,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 121
+ # File actioncable/lib/action_cable/channel/streams.rb, line 123
def stop_stream_from(broadcasting)
callback = streams.delete(broadcasting)
if callback
@@ -248,7 +248,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -280,12 +280,12 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 116
+ # File actioncable/lib/action_cable/channel/streams.rb, line 118
def stream_for(model, callback = nil, coder: nil, &block)
stream_from(broadcasting_for(model), callback || block, coder: coder)
end
- π See on GitHub
+ π See on GitHub
@@ -317,6 +317,8 @@
# File actioncable/lib/action_cable/channel/streams.rb, line 90
def stream_from(broadcasting, callback = nil, coder: nil, &block)
+ return if unsubscribed?
+
broadcasting = String(broadcasting)
# Don't send the confirmation until pubsub#subscribe is successful
@@ -335,7 +337,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -365,7 +367,7 @@
π Source code
- # File actioncable/lib/action_cable/channel/streams.rb, line 144
+ # File actioncable/lib/action_cable/channel/streams.rb, line 146
def stream_or_reject_for(model)
if model
stream_for model
@@ -374,7 +376,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase.html b/src/classes/ActionCable/Channel/TestCase.html
index 4748d3098f..17a09db3e1 100644
--- a/src/classes/ActionCable/Channel/TestCase.html
+++ b/src/classes/ActionCable/Channel/TestCase.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -80,13 +80,13 @@ Basic example<
Special methods
ActionCable::Channel::TestCase will also automatically provide the following instance methods for use in the tests:
-- connection
+
- connection
-
An ActionCable::Channel::ConnectionStub, representing the current HTTP connection.
- - subscription
+
- subscription
-
An instance of the current channel, created when you call subscribe.
- - transmissions
+
- transmissions
-
A list of all messages that have been transmitted into the channel.
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior.html b/src/classes/ActionCable/Channel/TestCase/Behavior.html
index 84c92e2872..b9791b3395 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -200,7 +200,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -235,7 +235,7 @@
super(broadcasting_for(stream_or_object), *args)
end
- π See on GitHub
+ π See on GitHub
@@ -276,7 +276,7 @@
assert subscription.streams.exclude?(stream), "Stream #{stream} has been started"
end
- π See on GitHub
+ π See on GitHub
@@ -317,7 +317,7 @@
assert_has_no_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -358,7 +358,7 @@
assert subscription.streams.include?(stream), "Stream #{stream} has not been started"
end
- π See on GitHub
+ π See on GitHub
@@ -399,7 +399,7 @@
assert_has_stream(broadcasting_for(object))
end
- π See on GitHub
+ π See on GitHub
@@ -440,7 +440,7 @@
assert subscription.streams.empty?, "No streams started was expected, but #{subscription.streams.count} found"
end
- π See on GitHub
+ π See on GitHub
@@ -478,7 +478,7 @@
subscription.perform_action(data.stringify_keys.merge("action" => action.to_s))
end
- π See on GitHub
+ π See on GitHub
@@ -520,7 +520,7 @@
@connection = ConnectionStub.new(identifiers)
end
- π See on GitHub
+ π See on GitHub
@@ -559,7 +559,7 @@
@subscription
end
- π See on GitHub
+ π See on GitHub
@@ -595,7 +595,7 @@
connection.transmissions.filter_map { |data| data["message"] }
end
- π See on GitHub
+ π See on GitHub
@@ -631,7 +631,7 @@
subscription.unsubscribe_from_channel
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
index f3db30496e..94cd33d8b6 100644
--- a/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
+++ b/src/classes/ActionCable/Channel/TestCase/Behavior/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -98,7 +98,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -137,7 +137,7 @@
channel
end
- π See on GitHub
+ π See on GitHub
@@ -179,7 +179,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection.html b/src/classes/ActionCable/Connection.html
index 751d2285de..ee2170c3f0 100644
--- a/src/classes/ActionCable/Connection.html
+++ b/src/classes/ActionCable/Connection.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Assertions.html b/src/classes/ActionCable/Connection/Assertions.html
index 7f21d649a5..30f60213d3 100644
--- a/src/classes/ActionCable/Connection/Assertions.html
+++ b/src/classes/ActionCable/Connection/Assertions.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -90,7 +90,7 @@
assert_raises(Authorization::UnauthorizedError, "Expected to reject connection but no rejection was made", &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization.html b/src/classes/ActionCable/Connection/Authorization.html
index 21b030cde3..f6455f721a 100644
--- a/src/classes/ActionCable/Connection/Authorization.html
+++ b/src/classes/ActionCable/Connection/Authorization.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -102,7 +102,7 @@
raise UnauthorizedError
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
index 3efa159441..34f8631dc6 100644
--- a/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
+++ b/src/classes/ActionCable/Connection/Authorization/UnauthorizedError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
diff --git a/src/classes/ActionCable/Connection/Base.html b/src/classes/ActionCable/Connection/Base.html
index aee7c74409..3fa5b8e2d2 100644
--- a/src/classes/ActionCable/Connection/Base.html
+++ b/src/classes/ActionCable/Connection/Base.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -269,7 +269,7 @@
@started_at = Time.now
end
- π See on GitHub
+ π See on GitHub
@@ -308,7 +308,7 @@
transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end
- π See on GitHub
+ π See on GitHub
@@ -348,7 +348,7 @@
websocket.close
end
- π See on GitHub
+ π See on GitHub
@@ -385,7 +385,7 @@
end
end
- π See on GitHub
+ π See on GitHub
@@ -420,7 +420,7 @@
worker_pool.async_invoke(self, method, *arguments)
end
- π See on GitHub
+ π See on GitHub
@@ -460,7 +460,7 @@
}
end
- π See on GitHub
+ π See on GitHub
@@ -498,7 +498,7 @@
request.cookie_jar
end
- π See on GitHub
+ π See on GitHub
@@ -536,7 +536,7 @@
end
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Callbacks.html b/src/classes/ActionCable/Connection/Callbacks.html
index 4361627f1c..028e8382bf 100644
--- a/src/classes/ActionCable/Connection/Callbacks.html
+++ b/src/classes/ActionCable/Connection/Callbacks.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
index a12fd671ab..10dacd045e 100644
--- a/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Callbacks/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -94,7 +94,7 @@
set_callback(:command, :after, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -129,7 +129,7 @@
set_callback(:command, :around, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
@@ -164,7 +164,7 @@
set_callback(:command, :before, *methods, &block)
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification.html b/src/classes/ActionCable/Connection/Identification.html
index 8d3d743e18..4c99747507 100644
--- a/src/classes/ActionCable/Connection/Identification.html
+++ b/src/classes/ActionCable/Connection/Identification.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -103,7 +103,7 @@
@connection_identifier
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/Identification/ClassMethods.html b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
index b4dc2daff3..6e76e6195b 100644
--- a/src/classes/ActionCable/Connection/Identification/ClassMethods.html
+++ b/src/classes/ActionCable/Connection/Identification/ClassMethods.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
@@ -89,7 +89,7 @@
self.identifiers += identifiers
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/InternalChannel.html b/src/classes/ActionCable/Connection/InternalChannel.html
index 496bb10c12..2079974900 100644
--- a/src/classes/ActionCable/Connection/InternalChannel.html
+++ b/src/classes/ActionCable/Connection/InternalChannel.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Module
diff --git a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
index 394b2f2b39..f79cbb3b66 100644
--- a/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
+++ b/src/classes/ActionCable/Connection/NonInferrableConnectionError.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -93,7 +93,7 @@
"test case definition."
end
- π See on GitHub
+ π See on GitHub
diff --git a/src/classes/ActionCable/Connection/StreamEventLoop.html b/src/classes/ActionCable/Connection/StreamEventLoop.html
index 57973382a8..92eb7e151b 100644
--- a/src/classes/ActionCable/Connection/StreamEventLoop.html
+++ b/src/classes/ActionCable/Connection/StreamEventLoop.html
@@ -5,7 +5,7 @@
- Ruby on Rails 8.0.0
+ Ruby on Rails 8.0.3
Class
@@ -120,7 +120,7 @@
@spawn_mutex = Mutex.new
end
- π See on GitHub
+ π See on GitHub
@@ -163,7 +163,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -203,7 +203,7 @@
wakeup
end
- π See on GitHub
+ π See on GitHub
@@ -241,7 +241,7 @@
@executor << task
end
- π See on GitHub
+ π See on GitHub
@@ -277,7 +277,7 @@
wakeup if @nio
end
- π See on GitHub
+ π See on GitHub
@@ -312,7 +312,7 @@
Concurrent::TimerTask.new(execution_interval: interval, &block).tap(&:execute)
end
- π See on GitHub
+ π See on GitHub
@@ -352,7 +352,7 @@
wakeup
end
-