I have a field that can be empty, so I need to use Object.try, but when I add the date format, I am having syntax problems.
<%= @request.assigned_date.strftime("%m/%d/%y") %>
How can I change the above to include ".try"?
Thanks in advance. Katie
source
to share