instance method dom_id

Ruby on Rails 2.3.18

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

dom_id(*args, &block)

See ActionController::RecordIdentifier.dom_id – this is just a delegate to that for convenient access in the view.

Parameters

args rest
block block
Source
# File actionpack/lib/action_view/helpers/record_identification_helper.rb, line 15
      def dom_id(*args, &block)
        ActionController::RecordIdentifier.dom_id(*args, &block)
      end

Defined in actionpack/lib/action_view/helpers/record_identification_helper.rb line 15 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Helpers::RecordIdentificationHelper

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close