Skip to content

Instantly share code, notes, and snippets.

@mattetti
Created February 12, 2014 20:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattetti/8963394 to your computer and use it in GitHub Desktop.
Save mattetti/8963394 to your computer and use it in GitHub Desktop.
typo bug that cost me a few hours of debugging
@iterations = opts[:iterations] || opts["iterations"] || 1000
keygen = ActiveSupport::CachingKeyGenerator.new(ActiveSupport::KeyGenerator.new(@secret, iterations: @iteration))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment