Hello,
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
adate.
Thank you!