Skip to content

Instantly share code, notes, and snippets.

@nikikoh
Created January 2, 2021 14:43
Show Gist options
  • Save nikikoh/be429d07b72df01f9e59c99cc8876847 to your computer and use it in GitHub Desktop.
Save nikikoh/be429d07b72df01f9e59c99cc8876847 to your computer and use it in GitHub Desktop.
task_params
[3] pry(#<TasksController>)> task_params
ActionController::ParameterMissing: param is missing or the value is empty: task
from /Users/satokoki64/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/actionpack-6.0.3.4/lib/action_controller/metal/strong_parameters.rb:462:in `require'
[4] pry(#<TasksController>)> params
=> <ActionController::Parameters {"controller"=>"tasks", "action"=>"index", "board_id"=>"1"} permitted: false>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment