I’m in section 9.3, “Adding a Button,” and I’m finding that when I run the command “rake test:functionals” as described on p. 121 of the PDF, I get the following error:
…ruby-1.9.2-head@rls3b4/gems/activerecord-3.0.0.beta4/lib/active_record/relation.rb:220:in `destroy’: wrong number of arguments (0 for 1) (ArgumentError)
I thought that perhaps I typed something in wrong so I rolled back my code to the previous iteration, “Connecting Products to Carts,” in section 9.2 but even then, I still get the error. Is anyone else having this problem?
I’m running ruby 1.9.2dev (2010-06-27 revision 28447) [x86_64-darwin10.4.0] Rails 3.0.0.beta4