I don't understand how I must change an if (condition) to check for the presence of this variable.
<%= if (@article.location != nil) %>
<%= image_tag "http://maps.google.com/maps/api/staticmap?size=450x300&sensor=false&zoom=16&markers=#{@article.location.latitude}%2C#{@article.location.longitude}" %>
<% end %>