Forum: Ruby on Rails cannot convert Time into String

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
26385b89ebd06509202593f3897fa07a?d=identicon&s=25 Steven D. (-redyck-)
on 2006-04-20 10:30

I'm getting the following error-message:
"cannot convert Time into String"

Any idea how to solve this?

Nuno (Guest)
on 2006-04-20 10:35
Have you tried .to_s on your Time variable ?
This topic is locked and can not be replied to.