rails/strong_parameters — pull request #115 by sebasoga (2013-03-09 21:04:35+00:00)
Title: Change behavior ActionController::Parameters#require when value is empty

When the value for the required key is empty an ActionController::ParameterMissing is raised which gets caught by ActionController::Base and turned into that 400 Bad Request reply with a message in the body saying the key is missing which is misleading.

With these changes in that case ActionController::EmptyParameter will be raised which ActionController::Base will catch and turned into that 400 Bad Request reply with a message in the body saying the key value is empty.