From 55bbda9969a3f694a27695d377104d8468de403e Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Sat, 6 Apr 2019 17:21:28 +0200 Subject: [PATCH] Refactoring: Unused code from development phase slipped into final merge. --- app/models/object_manager/attribute/validation.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/object_manager/attribute/validation.rb b/app/models/object_manager/attribute/validation.rb index 39ef10fec..7dad9937c 100644 --- a/app/models/object_manager/attribute/validation.rb +++ b/app/models/object_manager/attribute/validation.rb @@ -46,10 +46,6 @@ class ObjectManager::Attribute::Validation < ActiveModel::Validator end end - def validations - @validations ||= backend.map { backend.new } - end - def sanitize_memory_cache @model_attributes = nil