]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/concerns/geo_record.rb
Adjust code for rails internal changes
[rails.git] / app / models / concerns / geo_record.rb
index 23101856af59af4b1d79b98e6657942fad6f326a..bd96e0ff33261630e848d65a20926c8b7857a233 100644 (file)
@@ -9,7 +9,7 @@ module GeoRecord
       format("%<coord>.7f", :coord => self)
     end
 
-    def as_json(_)
+    def as_json(*)
       format("%<coord>.7f", :coord => self).to_f
     end
   end