Use double quotes in models

This commit is contained in:
Julian Herrero
2019-03-13 22:57:47 +01:00
parent 3c313c9c52
commit 3ba961a2d7
57 changed files with 241 additions and 241 deletions

View File

@@ -2,9 +2,9 @@ class Verification::Management::ManagedUser
include ActiveModel::Model
def self.find(document_type, document_number)
User.where('document_number is not null').
User.where("document_number is not null").
find_or_initialize_by(document_type: document_type,
document_number: document_number)
end
end
end