Skip to content

Instantly share code, notes, and snippets.

@SoldierCoder
Created June 11, 2009 04:35
Show Gist options
  • Save SoldierCoder/127704 to your computer and use it in GitHub Desktop.
Save SoldierCoder/127704 to your computer and use it in GitHub Desktop.
ArgumentError in RostersController#create
wrong number of arguments (1 for 0)
RAILS_ROOT: C:/rails20/rails_apps/gradebook
Application Trace | Framework Trace | Full Trace
app/controllers/rosters_controller.rb:44:in `params'
app/controllers/rosters_controller.rb:44:in `create'
Request
Parameters:
{"commit"=>"Create",
"authenticity_token"=>"9e59e83bed377e3d6cbfe3afedcdb4379f9120f1",
"course"=>{"id"=>"1"},
"student"=>{"id"=>"1"}}
Show session dump
Response
Headers:
{"cookie"=>[],
"Cache-Control"=>"no-cache"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment