Raise exception when unexpected params are provided. Backported from rails/rails.