Use Ruby on Rails to build an online commerce platform for a restaurant to facilitate online ordering.