Cyber Monday Sale 40% off unlimited courses & creative assets! 40% off unlimited assets! Save Now
by
Lessons:17Length:3.2 hours
  • Overview
  • Transcript

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