Forum: Ruby on Rails Adate expected, got 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.
Steven Bao (Guest)
on 2007-05-16 23:23
I have the models "announcement" and "adate" where "announcement"
belongs_to :adate and adate :has_many announcements. When I try
submitting a form using the name announcement[adate] it des not work -
gives me Adate expected, got String. What is the problem?

My database schema is table announcements has the columns id, text, and

Thank you!
Pete Y. (Guest)
on 2007-05-17 03:58
(Received via mailing list)

A general description of a problem is not enough for us to solve it.

You should post the code, what you think it should do, what it
actually does, and the complete error message including an indication
of which line caused the error.

Pete Y.
This topic is locked and can not be replied to.