Forum: Ruby on Rails cannot convert Time into String

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
48b67c246071276990d6cb584b34c95a?d=identicon&s=25 Steven De ryck (-redyck-)
on 2006-04-20 10:30
Hi,

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

Any idea how to solve this?

Steven.
77707eb62b77a12638d1d0a9424afdc9?d=identicon&s=25 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.