enum_help
enum_help copied to clipboard
display enum field value in view
thanks for such a great gem. i have a question, is there a way to overwrite the default behavior in view level? Because sometimes I just want to display the actual value of the enum field in the HTML page. But currently if I do
<%=task.status%>
In the html file, I see following
{:pending => "Pending", :confirmed => "Confirm" ...}
It will be great if I can just see its status. Thanks