Rails created_at on display if Today?
- by dannymcc
Hi Everyone,
Is it possible to display the created_at date, only if that date matches today's date?
<%=h k.created_at %>
Is this possible? Or should it be done in the controller rather than the view?
Thanks,
Danny