I have a datetime column in db that I want to transform into a simple date when I show it to users.
How can I do that?
def shown_date # to_date does not exi
For old Ruby (1.8.x):
myDate = Date.parse(myDateTime.to_s)