Jonathan is probably right. 'Request' is a reserved word in Rails -
see http://wiki.rubyonrails.org/rails/pages/ReservedWords

Try changing the model name to ServiceRequest or similar.

On Nov 7, 6:43 am, Jonathan Rochkind <[EMAIL PROTECTED]
s.net> wrote:
> Hmm, is it possible that the fact that the model is named "Request" is
> somehow triggering the bug? That's the only thing I can figure out.
>
> Jonathan
>
>
>
> Jonathan Rochkind wrote:
> > Frederick Cheung wrote:
> >> On 6 Nov 2008, at 16:39, Jonathan Rochkind wrote:
>
> >>> [...]
>
> >>> There's no reason this wouldn't be supported in Rails 2.1.2, is there?
>
> >> It should work. :include was rewritten for rails 2.1 though.
> >> service_type has a belongs_to :service_response ?
>
> >> Fred
>
> > It sure does.
>
> > This is annoying me highly. I've pared down my code to a simple
> > reproducible test case. And it's still exhibiting. i can't figure out
> > what I'm doing to trigger the bug, if everyone else is using :has_many,
> > :include without problems. Very frustrating.
>
> --
> Posted viahttp://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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to