search for: leaveatformat

Displaying 1 result from an estimated 1 matches for "leaveatformat".

2006 May 21
5
model methods
Hello everyone, In my model, I have def leave_at_formatted leave_at.strftime("%I:%M %p") end I was wondering if there were any way to define to_s for leave_at in order to get the same result? Thanks!