Module: ActionView::Helpers::RecordIdentificationHelper

Included in:
ActionView::Helpers
Defined in:
lib/action_view/helpers/record_identification_helper.rb

Instance Method Summary collapse

Instance Method Details

#dom_class(*args, &block) ⇒ Object

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



10
11
12
# File 'lib/action_view/helpers/record_identification_helper.rb', line 10

def dom_class(*args, &block)
  ActionController::RecordIdentifier.dom_class(*args, &block)
end

#dom_id(*args, &block) ⇒ Object

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



15
16
17
# File 'lib/action_view/helpers/record_identification_helper.rb', line 15

def dom_id(*args, &block)
  ActionController::RecordIdentifier.dom_id(*args, &block)
end

#partial_path(*args, &block) ⇒ Object

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



5
6
7
# File 'lib/action_view/helpers/record_identification_helper.rb', line 5

def partial_path(*args, &block)
  ActionController::RecordIdentifier.partial_path(*args, &block)
end