A dynamic ecommerce application on rails