From 00cde55259b1b0c7304dfd0a1217ca0fcccd1b57 Mon Sep 17 00:00:00 2001 From: Eric Farkas Date: Wed, 18 Sep 2013 11:36:05 -0400 Subject: [PATCH] Exception thrown is ActionController::ParameterMissing, not ActionController::MissingParameter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dd6023..2b2a634 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ class PeopleController < ActionController::Base end # This will pass with flying colors as long as there's a person key in the parameters, otherwise - # it'll raise a ActionController::MissingParameter exception, which will get caught by + # it'll raise a ActionController::ParameterMissing exception, which will get caught by # ActionController::Base and turned into that 400 Bad Request reply. def update person = current_account.people.find(params[:id])