Add the permitted_params method for Strong Parameters. Fixes #2289