I have a table shows with a time column called start_time. In the view, when I do:
<%= show.start_time %>
I get
2000-01-01 21:00:00 UTC
The 21:00 is stored properly in the database as time only. How can I display the time only in the view minus the date?
One way would be
or using any of the options listed at http://www.ruby-doc.org/core-1.9.3/Time.html#method-i-strftime you can do stuff like: