dom_id helper in controller/service/job Open options Share class Anything include ActionView::RecordIdentifier # .. def call dom_id(User.last) end end