Skip to content

Instantly share code, notes, and snippets.

@jraczak
Created April 25, 2015 02:36
Show Gist options
  • Save jraczak/6ca444f871535e35ccb7 to your computer and use it in GitHub Desktop.
Save jraczak/6ca444f871535e35ccb7 to your computer and use it in GitHub Desktop.
t.integer :failed_attempts, :default => 0 # Only if lock strategy is :failed_attempts
t.string :unlock_token # Only if unlock strategy is :email or :both
t.datetime :locked_at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment