Steven,
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 Yandell
http://notahat.com/
On 17/05/2007, at 5:23 AM, Steven Bao wrote:
>
> 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!
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---