Skip to content

Instantly share code, notes, and snippets.

@truongnmt
Created January 3, 2022 00:12
Show Gist options
  • Save truongnmt/4982c9936be9b98fc79e872f606f6d01 to your computer and use it in GitHub Desktop.
Save truongnmt/4982c9936be9b98fc79e872f606f6d01 to your computer and use it in GitHub Desktop.
authenticatable_salt
def authenticatable_salt
encrypted_password[0,29] if encrypted_password
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment