method

sanitize_dom_id

rails latest stable - Class: ActionController::RecordIdentifier

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

sanitize_dom_id(candidate_id)
protected

Replaces characters that are invalid in HTML DOM ids with valid ones.