I'm trying to format dates in a Rails view.

<td><%= l order.ship_date, :format => :long %></td>

This doesn't work if the date is nil:

Object must be a Date, DateTime or Time object. nil given.

What's the best "Rails" solution?

Edit
Report