## usage [rhtml] <%= edit employee %> ## result [html] edit employee ## the helper module ApplicationHelper def edit(record) name = record.class.name.underscore.humanize.downcase link_to "edit #{name}", edit_polymorphic_path(record) end end