新学ROR 新建一个例子时 按照 table model controller 的顺序来实现item 服务器运行时报
ArgumentError in ItemController#new wrong number of arguments (1 for 0)
RAILS_ROOT: ./script/../config/..
Application Trace |
Framework Trace |
Full Trace
Request
Parameters: None
Show session dump
--- flash: !map:ActionController::Flash::FlashHash {}
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
不知是何原因导致!