However, it seems the only unsafe character you have is the comma. If you
split into lat and lon as I did above, all should be fine for reassembly in
your controller as:
Routing Errors with lat,lon. Integers work but not numbers with
decimals.
I suspect that something needs to be modified in the routing to deal
with decimal points.
I tried my code without using decimals by multiplying the longitude
and latitudes by 1000 and
the dividing them again once they were passed to the controller. This
works so it seems
the decimal point was the problem.
However using the "requirements" in the routes.rb does not seem to fix
the problem. I still have a routing error, below is the error message
and my routes.rb
no route found to match "/table_points/query/43.05,-90.89" with
{:method=>:get}