module Devise::Models::TokenAuthenticatable

def reset_authentication_token!

Generate new authentication token and save the record.
def reset_authentication_token!
  reset_authentication_token
  save(:validate => false)
end