a shopping app implemented using rails 3