Freezing 'devise' gem to 3.2.4 for now as 3.3.0 throws error at signup

Here is the error:

NoMethodError in RegistrationsController#new

undefined method `password_length' for #<Class:0x007fc01c5afcb0>

devise (3.3.0) app/controllers/devise/registrations_controller.rb:10