I still prefer `@post.is_a? StatusMessage` and `try`, so how about `address = @post.location.try(:address) if @post.is_a? StatusMessage`?