I am unable to create an Order object in Task G1. It appears that the has_many :line_items is causing the exception, because I’m able to create the object when I comment out the declaration.
I’ve checked the code samples and cannot find a discrepancy. Has anybody else run into this error?
ArgumentError in OrdersController#new wrong number of arguments (0 for 1) app/models/order.rb:7 app/controllers/orders_controller.rb:32:in `new'