rails/rails — pull request #16897 by kostia (2014-09-12 13:10:58+00:00)
Title: MessageVerifier.new raises an appropriate exception if the secret is nil

Otherwise this will lead to another error later on when generating a signature:
`TypeError (no implicit conversion of nil into String)`.