Skip to content
Snippets Groups Projects
Commit 9ef67fac authored by Alex Reisner's avatar Alex Reisner
Browse files

Fix Rails 6.0 deprecation warning

by making all class methods public. Previously a call to #near or
within_bounding_box produced:

  DEPRECATION WARNING: Delegating missing full_column_name method to
  Venue. Accessibility of private/protected class methods in :scope is
  deprecated and will be removed in Rails 6.0.

I don't like turning all these methods public but at the moment I don't
see any way around it.
parent 319a0e58
No related branches found
No related tags found
No related merge requests found
......@@ -166,8 +166,6 @@ 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