[Rails] why would an int column in a join table be a String class in model?

Chris Hall christopher.k.hall at gmail.com
Thu Dec 15 01:59:55 GMT 2005


thanks.  sometimes i forget to go look at trac.

yes, it looks to be the same...i see a fix has been pushed back to
1.x...noproblem, i can always do == "1" in the meantime.

On 12/14/05, Wilson Bilkovich <wilsonb at gmail.com> wrote:
>
> On 12/14/05, Chris Hall <christopher.k.hall at gmail.com> wrote:
> > i've got an issue with integer columns in the database becoming strings
> in
> > the model and I'm not sure why this is happening.  perhaps someone can
> > explain.
> <snip>
>
> Is this possibly the same issue as this ticket?
> http://dev.rubyonrails.org/ticket/240
>
> --Wilson.
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20051215/3b2a1018/attachment.html


More information about the Rails mailing list