app/models/location.rb
# Try building a slug based on the following fields in
# increasing order of specificity.
Try building a slug based on the following fields in
increasing order of specificity.
Try building a slug based on the following fields in increasing order of specificity .
def slug_candidates
    [
      :name,
      %i[name address_street],
      %i[name mail_address_city]
    ]
  end
def slug_candidates [ :name , %i[ name address_street ] , %i[ name mail_address_city ] ] end
Try building a slug based on the following fields in
increasing order of specificity.
Try building a slug based on the following fields in increasing order of specificity .