Skip to content

Instantly share code, notes, and snippets.

@Bluejade
Bluejade / gist:1354208
Created November 10, 2011 05:51
chat transcript
Daniel : Scanning with our Kodak ESP9 AiO printer results in banded images, as you can see here: http://cl.ly/321B0W29222S023x003R
[All of our specialists are assisting other customers. We apologize for the delay and appreciate your patience. Please continue to hold and your chat will be answered by the next available specialist.]
(20:40:18 PM)[You are now chatting with Support Rep.]
Support Rep (20:40:29 PM): Welcome to Kodak. My name is xxxxxx. Please wait while I review your issue.
Support Rep (20:40:53 PM): I apologize for the inconvenience, I assure you my complete support.
Support Rep (20:41:06 PM): I will try my best to help you.
Daniel (20:41:12 PM): Thank you
Support Rep (20:41:15 PM): We can try few steps to isolate and fix the issue. Before we proceed, I request you to give me a few details of your printer.
Daniel (20:41:21 PM): okay
Support Rep (20:41:22 PM):
$ QUEUE=* rake --trace environment resque:work
(in /home/bluejade/Work/my_rails_app)
** Invoke environment (first_time)
** Execute environment
** Invoke resque:work (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:work
*** Starting worker optiplex760:28741:*
rake aborted!
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAxptGAIRp4s8nwqItaeoiZYgHXTRzNh/ym6/a2reO0b4CEYlpI9bkdStZttLURGw2d/CH6XkdDDlbJNhu3e0H85Nybj7mhGJaRvfksRdG7afe3HauGm7bt5zbApl5AuGz33CnVFv0TdaBLa3pVVcIVnU7j7kJysZ1wrnoDh/IG2Gri2DMg0YBATZJDGnWPTo7Gel6dFKDk1sUDRtD76xl3mH2QUuFrzamfgKrLsSFFZucbVeoIEzsXhiq3IJx35znxbvdtbOtJS2yCG7ojsvTFZwPcTorDs5UH/XLoreOJ0L5rM/KBZ/dITwBnL7NgBuA3zoMF+B0244euESwTzATBQ== daniel@Optiplex760
In PasswordResetsController < ApplicationController
before_filter :require_no_user
before_filter :load_user_using_perishable_token, :only => [:edit, :update]
def create
email = params[:email]
user = User.find_by_email(email)
unless user.nil?
user.reset_perishable_token!
Feature: openid authentication
In order to simplify management of web app accounts
People can use OpenID to create and sign into their accounts
Scenario: creating a new account using OpenID
Given I am a visitor without an account
And I am on the home page
When I follow "Sign up"
And I choose "single_sign_on_openid"
And I fill in the following:
lib/rots/server_app.rb:104
web_response = @server.encode_response(@openid_response)
(rdb:24) @openid_response
#<OpenID::Server::OpenIDResponse:0xb7231e5c @request=#<OpenID::Server::CheckIDRequest:0xb72357c8 @trust_root="http://www.exampl
e.com/", @return_to="http://www.example.com/user?for_model=1&_method=post&open_id_complete=1", @claimed_id="http://localhost:11
23/john.doe?openid.success=true", @assoc_handle="{HMAC-SHA1}{4ba00276}{zKO/oA==}", @immediate=false, @identity="http://localhos
t:1123/john.doe?openid.success=true", @mode="checkid_setup", @op_endpoint="http://localhost:1123/server/?openid.success=true",
@message=#<OpenID::Message:0xb7237550 @openid_ns_uri="http://specs.openid.net/auth/2.0", @namespaces=#<OpenID::NamespaceMap:0xb
7237500 @alias_to_namespace={"sreg"=>"http://openid.net/extensions/sreg/1.1", "ax"=>"http://openid.net/srv/ax/1.0", :null_names
pace=>"http://specs.openid.net/auth/2.0"}, @implicit_namespaces=[], @namespace_to_alias={"http://specs.openid.net/auth/2.0"=>:n
Dict from "should convert a Ruby hash to a PDF Dictionary when inside a content stream" spec:
Under 1.8.7 (failing):
<< /bang << /b [/you /say]
/a <77686174>
>>
/baz [1 2 3]
/foo /bar
>>
$ ruby -v
ruby 1.8.6 (2009-06-08 patchlevel 369) [i686-linux]
$ irb
irb(main):001:0> 1.3
=> 13.0