instance method action_all

Ruby on Rails 2.0.23

Since v1.3.3 Last seen in v2.0.23

Available in: v1.3.3 v1.4.0 v1.5.0 v2.0.23

Signature

action_all(name, targets, content = nil, method: nil, allow_inferred_rendering: true, **rendering, &block)

Send an action of the type name to targets. Options described in the concrete methods.

Parameters

name req
targets req
content opt = nil
method key = nil
allow_inferred_rendering key = true
rendering keyrest
block block
Source
# File app/models/turbo/streams/tag_builder.rb, line 255
  def action_all(name, targets, content = nil, method: nil, allow_inferred_rendering: true, **rendering, &block)
    template = render_template(targets, content, allow_inferred_rendering: allow_inferred_rendering, **rendering, &block)

    turbo_stream_action_tag name, targets: targets, template: template, method: method
  end

Defined in app/models/turbo/streams/tag_builder.rb line 255 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Turbo::Streams::TagBuilder

Type at least 2 characters to search.

↑↓ navigate · open · esc close