Skip to content

Instantly share code, notes, and snippets.

@rafaltrojanowski
Created April 19, 2016 10:28
Show Gist options
  • Save rafaltrojanowski/a09dfb057c050daedb11e66b410d5272 to your computer and use it in GitHub Desktop.
Save rafaltrojanowski/a09dfb057c050daedb11e66b410d5272 to your computer and use it in GitHub Desktop.
Devise.stretches = 1
User.find_each do |user|
user.password = 'q1w2e3r4'
user.save
end
Devise.stretches = 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment