How to lock users using Devise?
I want to add a subscription type functionality in my application for the account holder users such that after a fixed interval of time they will not be able to access their account? Note: I dont want to delete their account from the database. I've already installed devise-2.1.2 in my application. Do any body have any idea how can it be done? I am newbie to Ruby on rails so it will be very helpful to me if you please explain the steps. Devise have a buil-in solution with the :lockable option check in the Devise Lockable Documentation You have to set the lock_strategy set to :failed_attempts.