[Rails] routing error
Hello, I have set up an application using scaffolding, which have all basic method(index/new/edit/show/..). But when I tried to add a new method it showing routing errors. ~~~ class ItemsController < ApplicationController def in
[Rails] wrong number of arguments (1 for 0)
Hello, I am new to ruby on rails. When I tried to create a session I am getting an error, 'wrong number of arguments (1 for 0)', in my controller. ArgumentError in CustomerController#add_to_cart wrong number of arguments (1 fo