puts if exists?

If place[:address2] is nil or empty string then <%= place[:address2] %> should work. But I just noticed those
tags… You’ll probably want to do something more like <%= “
” unless place[:address2].blank? %>. If you’ve got an aversion to putting the HTML up inside the Ruby there, you could write this out as block

<% if place[:address2] -%>

<%= place[:address2] %>

<% end -%>

but it’s so short I’d just stick with embedding the HTML in the [embedded] Ruby.