Remove unused method

This commit is contained in:
Artur Beljajev 2017-10-28 21:37:10 +03:00
parent 33772925b1
commit 17204e1308

View file

@ -354,10 +354,6 @@ class Contact < ActiveRecord::Base
self.auth_info = SecureRandom.hex(11) self.auth_info = SecureRandom.hex(11)
end end
def disable_generate_auth_info! # needed for testing
@generate_auth_info_disabled = true
end
# def auth_info=(pw) # def auth_info=(pw)
# self[:auth_info] = pw if new_record? # self[:auth_info] = pw if new_record?
# end # end