instance method
dom_id
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available 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
-
argsrest -
blockblock
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