From cc24b9ad820e95743e1ce261b5f381330c32a011 Mon Sep 17 00:00:00 2001 From: alexreisner <alex@alexreisner.com> Date: Tue, 24 Nov 2009 21:55:29 -0500 Subject: [PATCH] Remove deprecated find_near class method. --- lib/geocoder.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/geocoder.rb b/lib/geocoder.rb index bdc9b8cc..60873d35 100644 --- a/lib/geocoder.rb +++ b/lib/geocoder.rb @@ -44,15 +44,6 @@ module Geocoder # module ClassMethods - ## - # DEPRECATED: Please use the +near+ method/named scope instead. - # - def find_near(location, radius = 20, options = {}) - warn "Geocoder deprecation warning: the 'find_near' class method is " + - "deprecated, please use the 'near' method, which is a named scope." - near(location, radius, options) - end - ## # Get options hash suitable for passing to ActiveRecord.find to get # records within a radius (in miles) of the given point. -- GitLab