From 0fe0b84cc1d99ceac8e123f4cb1feab63feca1cc Mon Sep 17 00:00:00 2001 From: Vadim Golub Date: Tue, 16 Jul 2013 17:52:04 +0300 Subject: [PATCH] README.md updated Incorrect ActionController::MissingParameter error replaced with ActionController::ParameterMissing in code comment. --- 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])