Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 14th, 2012  |  syntax: Rails  |  size: 0.25 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.          begin
  2.             raise "fuck"
  3.             user.password_reset(params[:send_email] == "true")
  4.          rescue Exception => ex
  5.             render :json => {:failure => "could not send email"}, :status => 409
  6.             return
  7.          end