def dom_id_selector(model)
  "#" + ActionController::RecordIdentifier.dom_id(model)
end

def dom_class_selector(model)
  "." + ActionController::RecordIdentifier.dom_class(model)
end

Add dom_id and dom_class selector helpers for constraining to areas of a page.
Add dom_id and dom_class selector helpers for constraining to areas of a page.
