Override coulmn data type - urgent

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

On Jul 20, 2006, at 4:22 PM, Thila Thila wrote:

Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs