Skip to content

Instantly share code, notes, and snippets.

@apanzerj
Created November 22, 2016 16:42
Show Gist options
  • Save apanzerj/fd80baac4b3947b822358b4c429ef2db to your computer and use it in GitHub Desktop.
Save apanzerj/fd80baac4b3947b822358b4c429ef2db to your computer and use it in GitHub Desktop.
# Trying to do app.get and getting dumb complaints from rails about the secret. Fuck off.
module Rails
class Application < Engine
def validate_secret_key_config!
true
end
end
end
module ActiveSupport
class LegacyKeyGenerator
def ensure_secret_secure(*args)
true
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment