Rails 4
Devise lock