On Jul 20, 2006, at 4:22 PM, Thila Thila wrote:
> Hi-
> I have a BigInt (MySql) column type - RAILS treats it as FixNum, which
> causes big problem for us since we need to store a 12+ number of
> digits.
> How can I tell Rails to treat is as BigNum instead of FixNum?
>
> thanks
> thila
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
RUby will automatically convert a Fixnum into a Bignum and visca-
versa when the number is big enough> you don''t need to worry about
it
it will happen invisibly.
-Ezra