We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d573fb1 commit 5d61773Copy full SHA for 5d61773
actioncable/lib/action_cable/channel/test_case.rb
@@ -65,7 +65,7 @@ def transmit(cable_message)
65
66
def connection_identifier
67
unless defined? @connection_identifier
68
- @connection_identifier = connection_gid identifiers.filter_map { |id| instance_variable_get("@#{id}") }
+ @connection_identifier = connection_gid identifiers.filter_map { |id| send(id.to_sym) if id }
69
end
70
71
@connection_identifier
0 commit comments