ffmike (owner)

Revisions

gist: 187217 Download_button fork
public
Public Clone URL: git://gist.github.com/187217.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
# sneakiness to hook into Authlogic's password call chain
def crypted_password=(password)
  self[:crypted_password] = password
  update_attribute(:password_updated_at, Time.now)
end