Sha256: adbedfce46cecf602958a5a1a95a1ae0a8acb307a6dbdf0d5fc1119136cfca17
Contents?: true
Size: 503 Bytes
Versions: 75
Compression:
Stored size: 503 Bytes
Contents
# Work around for https://github.com/hotwired/turbo-rails/issues/512 # When ActionCable is not loaded, Turbo breaks boot Rails.autoloaders.once.do_not_eager_load("#{Turbo::Engine.root}/app/channels") unless defined?(ActionCable) # Work around for https://github.com/hotwired/turbo-rails/issues/535 Rails.application.config.after_initialize do Turbo::Streams::BroadcastStreamJob.class_eval do def self.perform_later(stream, content:) super(stream, content: content.to_str) end end end
Version data entries
75 entries across 75 versions & 1 rubygems