Re: AssociationTypeMismatch got Fixnum

Frederick Cheung
Mon, 02 Feb 2009 12:29:26 -0000

On 2 Feb 2009, at 10:49, An wrote:
>
> The fact that scares me  *a lot* is that I get it on random basis and
> reloading the page solves it.
> It looks like that sometimes the record isn''t retrieved correctly
from
> the db but instead it got a fixnum.
>
>
> The fact that is a random behaviour doesn''t give me any clue on
how to
> solve it.
> Any idea?
>

I would at least start by following that stack trace a little further.

Fred