Skip to content

Instantly share code, notes, and snippets.

@jamesgecko
Created May 16, 2012 17:13
Show Gist options
  • Select an option

  • Save jamesgecko/2712304 to your computer and use it in GitHub Desktop.

Select an option

Save jamesgecko/2712304 to your computer and use it in GitHub Desktop.
PS C:\Users\denton\code\portal> jruby --1.9 .\app.rb
[2012-05-16 12:15:15] INFO WEBrick 1.3.1
[2012-05-16 12:15:15] INFO ruby 1.9.2 (2012-02-22) [java]
== Sinatra/1.3.2 has taken the stage on 4567 for development with backup from WEBrick
[2012-05-16 12:15:15] INFO WEBrick::HTTPServer#start: pid=6820 port=4567
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
I, [2012-05-16T12:15:16.489000 #6820] INFO -- : (0.057000s) SELECT CAST(SERVERPROPERTY('ProductVers
ion') AS varchar)
I, [2012-05-16T12:15:16.560000 #6820] INFO -- : (0.057000s) SELECT TOP (1) * FROM [POLICYS] WHERE (
([AGENCYID] = 2) AND ([RECNUM] = N'30689'))
I, [2012-05-16T12:15:16.570000 #6820] INFO -- : ===========
I, [2012-05-16T12:15:16.579000 #6820] INFO -- : {:from=>[:MiscellaneousClasses], :where=>#<Sequel::
SQL::BooleanExpression @op=>:AND, @args=>[#<Sequel::SQL::BooleanExpression @op=>:"=", @args=>[#<Sequ
el::SQL::QualifiedIdentifier @table=>:MiscellaneousClasses, @column=>:agencyid>, 2]>, #<Sequel::SQL:
:BooleanExpression @op=>:"=", @args=>[#<Sequel::SQL::QualifiedIdentifier @table=>:MiscellaneousClass
es, @column=>:recnum>, Policy]>]>, :limit=>1}
I, [2012-05-16T12:15:16.586000 #6820] INFO -- : ===========
0:0:0:0:0:0:0:1 - - [16/May/2012:12:15:16 CDT] "GET /policy/30689 HTTP/1.1" 200 0
http://www.google.com/url?sa=D&q=http://localhost:4567/policy/30689&usg=AFQjCNGhhdmcu4gcARU9DmPrnlrx
cY2dmA -> /policy/30689
0:0:0:0:0:0:0:1 - - [16/May/2012:12:15:16 CDT] "GET /favicon.ico HTTP/1.1" 404 447
- -> /favicon.ico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment