]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
Merge remote-tracking branch 'upstream/pull/3890'
[rails.git] / app / models / old_relation.rb
index 7f9a747e64c84ef99aee35d4f7117056a4ca7ce6..c36d645728a736907596920e0f8e604357069267 100644 (file)
@@ -99,7 +99,7 @@ class OldRelation < 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_relation.version == version
   end
 end