Henrique Breim·Follow1 min read·Jun 22, 2019--ShareIn rails, to prevent errors:@product.appointment_datetime.try(:strftime, “%d/%m/%Y %H:%m”)