instance method
dom_id
Ruby on Rails 4.0.13
Since v2.2.3 Last seen in v4.0.13Signature
dom_id(record, prefix = nil)
No documentation comment.
Parameters
-
recordreq -
prefixopt = nil
Source
# File actionpack/lib/action_controller/record_identifier.rb, line 11
def dom_id(record, prefix = nil)
ActiveSupport::Deprecation.warn(INSTANCE_MESSAGE % 'dom_id')
ActionView::RecordIdentifier.dom_id(record, prefix)
end
Defined in actionpack/lib/action_controller/record_identifier.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RecordIdentifier