app/models/address.rb
# Get the full address formatted as a <br/> delimited string
#
# @example Get the full address formatted as a <br/> delimited string
#   model.to_s
#
# @return [ String ] the full address
Get the full address formatted as a  delimited string
Get the full address formatted as a delimited string
def to_s
    city_delim = city.present? ? "#{city}," : city
    line3 = [city_delim, state, zip].reject(&:nil? || empty?).join(' ')
    [address_1, address_2, line3].reject(&:nil? || empty?).join('<br/>').html_safe
  end
def to_s city_delim = city . present? ? "#{city}," : city line3 = [ city_delim , state , zip ] . reject ( & :nil? || empty? ) . join ( ' ' ) [ address_1 , address_2 , line3 ] . reject ( & :nil? || empty? ) . join ( '<br/>' ) . html_safe end
Get the full address formatted as a <br/> delimited string
Get the full address formatted as a <br / > delimited string
the full address
the full address
 String 
example
Get the full address formatted as a  delimited string model.to_s
Get the full address formatted as a delimited string model . to_s