[Rails] wrong number of arguments (1 for 0)

2009-06-04 Thread springbok
Hi, I hope someone can help me because this is driving me crazy, I've spent hours trying to track this down. I'm trying to convert a Rails 1.1 to Rails 2.3.2 and I'm getting the following error when trying to save a many to many relationship. I've double checked all the associations, I've used co

[Rails] wrong number of arguments (1 for 0)

2009-02-18 Thread Sony Sebastian
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