instance method
action_all
Ruby on Rails 1.3.3
Since v1.3.3 Last seen in v2.0.23Signature
action_all(name, targets, content = nil, allow_inferred_rendering: true, **rendering, &block)
Send an action of the type name to targets. Options described in the concrete methods.
Parameters
-
namereq -
targetsreq -
contentopt = nil -
allow_inferred_renderingkey = true -
renderingkeyrest -
blockblock
Source
# File app/models/turbo/streams/tag_builder.rb, line 221
def action_all(name, targets, content = 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
end
Defined in app/models/turbo/streams/tag_builder.rb line 221
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Turbo::Streams::TagBuilder