Would it be possible to use `-` operator? Like `(keys - params.keys).any?` Or something like that, instead of iterating over the keys. Even better, by doing that you can raise an exception containing *all* the unexpected keys instead of only the first found.