Skip to content
Snippets Groups Projects
Unverified Commit bab2e367 authored by Alex Reisner's avatar Alex Reisner Committed by GitHub
Browse files

Merge pull request #1269 from stevenharman/rails_5_2_compat

Make #near_scope_options public for Rails 5.2
parents 81c97590 0ab48006
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,6 @@ module Geocoder::Store
end
end
private # ----------------------------------------------------------------
##
# Get options hash suitable for passing to ActiveRecord.find to get
# records within a radius (in kilometers) of the given point.
......@@ -168,6 +166,8 @@ module Geocoder::Store
}
end
private # ----------------------------------------------------------------
##
# SQL for calculating distance based on the current database's
# capabilities (trig functions?).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment