rails/strong_parameters — pull request #50 by lhm (2012-10-23 14:54:15+00:00)
Title: fix signature of sanitize_for_mass_assignment to match the one in Active...

...Model.

The problem being that the strong_parameter's version passes an empty hash up to ActiveModel's sanitize_for_mass_assignment, where a role is expected.