what about:

      self.lat, self.lng = coordinates.split(',') if coordinates.present?