From 624a82f0172d3cf29bbee178b8be770a9bcdfaff Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 2 Mar 2020 00:29:13 +0100 Subject: [PATCH] suite --- app/models/particular.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/particular.rb b/app/models/particular.rb index 427fa62..9b7a253 100644 --- a/app/models/particular.rb +++ b/app/models/particular.rb @@ -50,7 +50,7 @@ class Particular < ApplicationRecord end def force_validate_tel - if self.validate_tel + if self.validate_tel and self.validate_tel.to_s != "" true else false