You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops. Sorry, I misread the code. The problem is actually not the parameters (those are correct) but the fact that in ActsAsMapple::*_distance_sql, customized column names for "lat" and "lng" are ignored and "lat"/"lng" is hardcoded. I use "latitude" and "longitude" and this is currently not possible with Geokit-Rails3.
call in acts_as_mappable.rb:
and code in adapters/postgresql.rb:
and
def flat_distance_sql(origin, lat_degree_units, lng_degree_units)
Same thing in mysql.rb and mysql2.rb (and probably the others):
The text was updated successfully, but these errors were encountered: