Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
by
Lessons:17Length:3.2 hours

2.7 Notify Users

After an order is created, it's common to have some sort of communication mechanism to notify the customer about the purchase. It’s easy to accomplish that with Rails.

Note

The code for order_confirmation.text.erb contains a typo. The orders should be iterated with the following command:

@order.order_items.each