From d51416b81fb33c93c4ca06a03714ab6de6c36dfe Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Fri, 1 Apr 2011 01:17:44 -0400
Subject: [PATCH] Make near_scope_options private.
---
lib/geocoder/orms/active_record.rb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/geocoder/orms/active_record.rb b/lib/geocoder/orms/active_record.rb
index 11af243d..908dca1d 100644
--- a/lib/geocoder/orms/active_record.rb
+++ b/lib/geocoder/orms/active_record.rb
@@ -50,6 +50,8 @@ module Geocoder::Orm
#
module ClassMethods
+ private # ----------------------------------------------------------------
+
##
# Get options hash suitable for passing to ActiveRecord.find to get
# records within a radius (in miles) of the given point.
@@ -75,9 +77,6 @@ module Geocoder::Orm
end
end
-
- private # ----------------------------------------------------------------
-
##
# Scope options hash for use with a database that supports POWER(),
# SQRT(), PI(), and trigonometric functions SIN(), COS(), ASIN(),
--
GitLab