Migrations and doubles?

I’m trying to start using migrations (I <3 migrations!) on a project
that stores geocode data in the database. This is a pretty major
problem because float is not precise enough to store this information.

Are there plans to support double? What are my options here?

Cheers,

Jim

On 1/7/06, Jim Van F. [email protected] wrote:

I’m trying to start using migrations (I <3 migrations!) on a project
that stores geocode data in the database. This is a pretty major
problem because float is not precise enough to store this information.

Are there plans to support double? What are my options here?

Cheers,

Jim

Which database are you using?
If you look for the “def native_database_types” line in the relevant
connection adapter, you can add new datatypes, and use them in your
migrations.

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