]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/concerns/consistency_validations.rb
Convert lib files to model concerns
[rails.git] / app / models / concerns / consistency_validations.rb
similarity index 98%
rename from lib/consistency_validations.rb
rename to app/models/concerns/consistency_validations.rb
index 7e9b335861e6f913e5aff61da9147168f6c3ccd9..00c6ce9934b7b37c6a95f74e32a68d4678714668 100644 (file)
@@ -1,4 +1,6 @@
 module ConsistencyValidations
+  extend ActiveSupport::Concern
+
   # Generic checks that are run for the updates and deletes of
   # node, ways and relations. This code is here to avoid duplication,
   # and allow the extention of the checks without having to modify the