@ -513,7 +513,7 @@ private
end
def created_by
@created_by ||= User.where("lower(email) = ?", field_112.downcase).first
@created_by ||= User.where("lower(email) = ?", field_112&.downcase).first
def duplicate_check_fields
@ -542,7 +542,7 @@ private
@created_by ||= User.where("lower(email) = ?", field_3.downcase).first
@created_by ||= User.where("lower(email) = ?", field_3&.downcase).first
def validate_uprn_exists_if_any_key_address_fields_are_blank
@ -934,7 +934,7 @@ private
@created_by ||= User.where("lower(email) = ?", field_93.downcase).first
@created_by ||= User.where("lower(email) = ?", field_93&.downcase).first
def hhregres
@ -1112,7 +1112,7 @@ private
@created_by ||= User.where("lower(email) = ?", field_2.downcase).first
@created_by ||= User.where("lower(email) = ?", field_2&.downcase).first
def previous_la_known