Displaying 1 result from an estimated 1 matches for "d2fbf24a".
2006 May 26
1
Overriding default type mappings of ActiveRecord
Hi:
Is there a good way to override the mappings between class variables
and database column type as determined by activerecord ?
I have a column in the database table (postgres) that is declared as
numeric(1000,0) which is an exact precision type. However, activerecord
maps the correspoding class variable to type float which will not work
for me. I''d like to map it to ruby type Bignum