app/models/visma/address.rb
# Array of address attributes that matters when comparing
Array of address attributes that matters when comparing
Array of address attributes that matters when comparing
def comparable_attributes
      [line1, line2, zip, city].map do |n|
        n.to_s.mb_chars.downcase.squish
      end
    end
def comparable_attributes [ line1 , line2 , zip , city ] . map do | n | n . to_s . mb_chars . downcase . squish end end
Array of address attributes that matters when comparing
Array of address attributes that matters when comparing