21 Sep 2012 sness   » (Journeyer)

ruby - Devise password reset from Rails console - Stack Overflow

ruby - Devise password reset from Rails console - Stack Overflow: "# then
user = User.where(:email => email).first

if user
  user.password = new_password
  user.password_confirmation = new_password
  user.save
end"

'via Blog this'

Syndicated 2012-09-21 20:18:00 from sness

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!