]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_node.rb
Escape each portion of a semicolon seprated value individually
[rails.git] / app / models / old_node.rb
index 4f5f074abf4b65600db82cc9de719bf736f30494..077039ac33c2e13c5e0e8f702f1d0d520e2fbd9c 100644 (file)
@@ -103,7 +103,7 @@ class OldNode < ApplicationRecord
 
   # check whether this element is the latest version - that is,
   # has the same version as its "current" counterpart.
-  def is_latest_version?
+  def latest_version?
     current_node.version == version
   end
 end