Guest User

Untitled

a guest
Apr 25th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. class User < ActiveRecord::Base
  2. acts_as_authentic do |c|
  3. c.my_config_option = my_value # for available options see documentation in: Authlogic::ActsAsAuthentic
  4. end # block optional
  5.  
  6.  
  7.  
  8. def deliver_password_reset_instructions!
  9. reset_perishable_token!
  10. Notifier.deliver_password_reset_instructions(self)
  11. end
  12. end
Add Comment
Please, Sign In to add comment