rails/strong_parameters — pull request #72 by reggieb (2012-12-19 15:59:47+00:00)
Title: Fixes issue where permit returns params.permitted == true if there are no matches to the filters

This relates to issue https://github.com/rails/strong_parameters/issues/71

Person.new.sanitize_for_mass_assignment(ActionController::Parameters.new(:a => "b").permit(:c))

In tests this should raise an error, but it doesn't because permit always return an object with @permitted set as true