Thanks for your kind words Walter, I have finally created the cart functionality using a controller. Thanks for the response :)
On Thursday, March 10, 2016 at 9:24:59 PM UTC+5:30, Atchyut Nagabhairava wrote: > > > <https://lh3.googleusercontent.com/-wJkpJ7YeOyg/VuE9F4r95uI/AAAAAAAAAB4/8Bv7mhfS8g8/s1600/Screenshot%2Bfrom%2B2016-03-10%2B14%253A53%253A13.png> > I was practicing rails by creating a food ordering website some what > similar to FoodPanda. > For now I have created pages to display restaurants, in restaurant profile > to display menu items. I stuck up with a doubt how could I add the add to > cart functionality button for a menu item. > I request some one to help me for its functionality. > Please find the screenshot attachment of the restaurant profile page with > menu items. > Thanks in Advance. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1798db9a-991c-459a-a3a1-ae1fa0291623%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.