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?
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.