I have a legacy database that has integer data stored as chars that I would like to treat as numerical. Is there a quick and easy way to convert this is one place? The values are from 0-5 and it defaults to 0 so there are no nulls.
I can't just fix the data because the legacy db will still be updated by the legacy app.
So I am basically wondering if there is some activerecord option that could automatically cast the column.