diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-05-28 15:05:03 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-05-28 15:08:47 +0900 |
commit | 5e87e1faf646fed6139650f2a3adb13a3d09ccd9 (patch) | |
tree | edebbab442caa3f8831fbf16111ac2022f93da0f | |
parent | 3ce3b2233ad573ddd9142b6016de7c9158722ad4 (diff) | |
download | rails-5e87e1faf646fed6139650f2a3adb13a3d09ccd9.tar.gz rails-5e87e1faf646fed6139650f2a3adb13a3d09ccd9.tar.bz2 rails-5e87e1faf646fed6139650f2a3adb13a3d09ccd9.zip |
fix incorrect class name [ci skip]
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 | ||||
-rw-r--r-- | guides/source/action_controller_overview.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 08049d7af8..a0579221c7 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -797,7 +797,7 @@ module ActionController # # class PeopleController < ActionController::Base # # Using "Person.create(params[:person])" would raise an - # # ActiveModel::ForbiddenAttributes exception because it'd + # # ActiveModel::ForbiddenAttributesError exception because it'd # # be using mass assignment without an explicit permit step. # # This is the recommended form: # def create diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md index 848c9caa59..a906f64633 100644 --- a/guides/source/action_controller_overview.md +++ b/guides/source/action_controller_overview.md @@ -203,7 +203,7 @@ predefined raise/rescue flow to end up as a 400 Bad Request. ```ruby class PeopleController < ActionController::Base - # This will raise an ActiveModel::ForbiddenAttributes exception + # This will raise an ActiveModel::ForbiddenAttributesError exception # because it's using mass assignment without an explicit permit # step. def create |