[Rails] why would an int column in a join table be a String class
in model?
Rabbit
rabbitblue at gmail.com
Thu Dec 15 02:39:49 GMT 2005
to_i also works. :)
On 12/14/05, Chris Hall <christopher.k.hall at gmail.com> wrote:
> 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...no
> problem, 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
> >
>
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
More information about the Rails
mailing list