lib/simple_password_authentication/model_methods.rb
#Force re-generation of salt value. Returns new value.
Force re-generation of salt value. Returns new value.
Force re - generation of salt value . Returns new value .
def salt!
        returning self.class.generate_salt do |s|
          write_attribute(:salt, s)
        end
      end
def salt! returning self . class . generate_salt do | s | write_attribute ( :salt , s ) end end
Force re-generation of salt value.
Force re - generation of salt value .