Seems like I can't store the exact coordinates in my mysql database, no matter what column type I set (decimal or even string and text). For example, whenever I enter the coordinates and save, the log says the parameters are okay (i.e. "23.3514404296875") but when inserting in the database, it looks like the number is somehow approximated (i.e. "23.3610241").
However, if I try to edit the item afterwards from my application, the coordinates are saved correctly.
Hello,
Seems like I can't store the exact coordinates in my mysql database, no matter what column type I set (decimal or even string and text). For example, whenever I enter the coordinates and save, the log says the parameters are okay (i.e. "23.3514404296875") but when inserting in the database, it looks like the number is somehow approximated (i.e. "23.3610241").
However, if I try to edit the item afterwards from my application, the coordinates are saved correctly.
Is this something gmaps4rails does before saving?
Thanks a lot! PS: I'm new to Rails