Content-Type: text/html Content-Length: 8367

Backtrace

/var/www/web/html/chordlist.fcgi/public/clist.fcgi:50:in `<main>' /var/www/web/html/chordlist.fcgi/public/clist.fcgi:50:in `new' /var/www/web/html/chordlist.fcgi/action/database.rb:9:in `initialize' /var/www/web/html/chordlist.fcgi/public/clist.fcgi:59:in `block in <main>' /usr/lib/ruby/1.9.1/fcgi.rb:609:in `each_cgi' /usr/lib/ruby/1.9.1/fcgi.rb:609:in `each' /usr/lib/ruby/1.9.1/fcgi.rb:612:in `block in each_cgi' /var/www/web/html/chordlist.fcgi/public/clist.fcgi:128:in `block (2 levels) in <main>' /var/www/web/html/chordlist.fcgi/view/views.rb:92:in `display' (eval):6:in `html' /var/www/web/html/chordlist.fcgi/view/views.rb:93:in `block in display' (eval):6:in `head' /var/www/web/html/chordlist.fcgi/view/views.rb:94:in `block (2 levels) in display' /var/www/web/html/chordlist.fcgi/view/views.rb:545:in `pagetitle' /var/www/web/html/chordlist.fcgi/action/actions.rb:145:in `chord' /var/www/web/html/chordlist.fcgi/action/fingerdata.rb:10:in `[]' /var/www/web/html/chordlist.fcgi/action/cache.rb:27:in `get' /var/www/web/html/chordlist.fcgi/action/fingerdata.rb:10:in `block in []' /var/www/web/html/chordlist.fcgi/action/fingerdata.rb:10:in `new' /var/www/web/html/chordlist.fcgi/action/fingerlist.rb:35:in `initialize'

undefined method `times' for [780]:Array

Model

Instance Variables

@database

#<Database:0x8f7bb6c>

@cgi

#<FCGI::CGI:0x8f53090 @request=#<FCGI:0x8f53a18>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>

@args

""

@request_uri

"/en/guitar/open_a/A11/"

@user_agent

"newspaper/0.2.8"

@params

{}

@language

:en

@sorting

:r

@view

:b

@instrument_id

:guitar

@tuning_id

:open_a

@chord_id

:A11

@instrument_nr

0

@tunings

[#<CFG::Tuning:0x8dcbe70 @title="Standard", @id=:standard, @tuning=E, A, D G B E'>, #<CFG::Tuning:0x8dcb060 @title="Drop D", @id=:drop_d, @tuning=D, A, D G B E'>, #<CFG::Tuning:0x8dca1c4 @title="Drop D, high D", @id=:drop_d_high_d, @tuning=D, A, D G B D'>, #<CFG::Tuning:0x8e5b2f0 @title="DADGAD", @id=:dadgad, @tuning=D, A, D G A D'>, #<CFG::Tuning:0x8e58d20 @title="Open D", @id=:open_d, @tuning=D, A, D F# A D'>, #<CFG::Tuning:0x8e55058 @title="Mayfield", @id=:mayfield, @tuning=F#, A#, C# F# A# F#'>, #<CFG::Tuning:0x8e53e24 @title="Open E", @id=:open_e, @tuning=E, B, E G# B E'>, #<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>, #<CFG::Tuning:0x8e51d2c @title="Open G", @id=:open_g, @tuning=D, G, D G B D'>]

@tuning_nr

7

@tuning

#<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>

Inspect

#<Requests::Tuningchord:0x8f52820 @database=#<Database:0x8f7bb6c>, @cgi=#<FCGI::CGI:0x8f53090 @request=#<FCGI:0x8f53a18>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>, @args="", @request_uri="/en/guitar/open_a/A11/", @user_agent="newspaper/0.2.8", @params={}, @language=:en, @sorting=:r, @view=:b, @instrument_id=:guitar, @tuning_id=:open_a, @chord_id=:A11, @instrument_nr=0, @tunings=[#<CFG::Tuning:0x8dcbe70 @title="Standard", @id=:standard, @tuning=E, A, D G B E'>, #<CFG::Tuning:0x8dcb060 @title="Drop D", @id=:drop_d, @tuning=D, A, D G B E'>, #<CFG::Tuning:0x8dca1c4 @title="Drop D, high D", @id=:drop_d_high_d, @tuning=D, A, D G B D'>, #<CFG::Tuning:0x8e5b2f0 @title="DADGAD", @id=:dadgad, @tuning=D, A, D G A D'>, #<CFG::Tuning:0x8e58d20 @title="Open D", @id=:open_d, @tuning=D, A, D F# A D'>, #<CFG::Tuning:0x8e55058 @title="Mayfield", @id=:mayfield, @tuning=F#, A#, C# F# A# F#'>, #<CFG::Tuning:0x8e53e24 @title="Open E", @id=:open_e, @tuning=E, B, E G# B E'>, #<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>, #<CFG::Tuning:0x8e51d2c @title="Open G", @id=:open_g, @tuning=D, G, D G B D'>], @tuning_nr=7, @tuning=#<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>>

View

Instance Variables

@__outstream

#<FCGI::Stream:0x8f539f0>

@model

#<Requests::Tuningchord:0x8f52820 @database=#<Database:0x8f7bb6c>, @cgi=#<FCGI::CGI:0x8f53090 @request=#<FCGI:0x8f53a18>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>, @args="", @request_uri="/en/guitar/open_a/A11/", @user_agent="newspaper/0.2.8", @params={}, @language=:en, @sorting=:r, @view=:b, @instrument_id=:guitar, @tuning_id=:open_a, @chord_id=:A11, @instrument_nr=0, @tunings=[#<CFG::Tuning:0x8dcbe70 @title="Standard", @id=:standard, @tuning=E, A, D G B E'>, #<CFG::Tuning:0x8dcb060 @title="Drop D", @id=:drop_d, @tuning=D, A, D G B E'>, #<CFG::Tuning:0x8dca1c4 @title="Drop D, high D", @id=:drop_d_high_d, @tuning=D, A, D G B D'>, #<CFG::Tuning:0x8e5b2f0 @title="DADGAD", @id=:dadgad, @tuning=D, A, D G A D'>, #<CFG::Tuning:0x8e58d20 @title="Open D", @id=:open_d, @tuning=D, A, D F# A D'>, #<CFG::Tuning:0x8e55058 @title="Mayfield", @id=:mayfield, @tuning=F#, A#, C# F# A# F#'>, #<CFG::Tuning:0x8e53e24 @title="Open E", @id=:open_e, @tuning=E, B, E G# B E'>, #<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>, #<CFG::Tuning:0x8e51d2c @title="Open G", @id=:open_g, @tuning=D, G, D G B D'>], @tuning_nr=7, @tuning=#<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>>

Inspect

#<Views::Tuningchord:0x8f518d0 @__outstream=#<FCGI::Stream:0x8f539f0>, @model=#<Requests::Tuningchord:0x8f52820 @database=#<Database:0x8f7bb6c>, @cgi=#<FCGI::CGI:0x8f53090 @request=#<FCGI:0x8f53a18>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>, @args="", @request_uri="/en/guitar/open_a/A11/", @user_agent="newspaper/0.2.8", @params={}, @language=:en, @sorting=:r, @view=:b, @instrument_id=:guitar, @tuning_id=:open_a, @chord_id=:A11, @instrument_nr=0, @tunings=[#<CFG::Tuning:0x8dcbe70 @title="Standard", @id=:standard, @tuning=E, A, D G B E'>, #<CFG::Tuning:0x8dcb060 @title="Drop D", @id=:drop_d, @tuning=D, A, D G B E'>, #<CFG::Tuning:0x8dca1c4 @title="Drop D, high D", @id=:drop_d_high_d, @tuning=D, A, D G B D'>, #<CFG::Tuning:0x8e5b2f0 @title="DADGAD", @id=:dadgad, @tuning=D, A, D G A D'>, #<CFG::Tuning:0x8e58d20 @title="Open D", @id=:open_d, @tuning=D, A, D F# A D'>, #<CFG::Tuning:0x8e55058 @title="Mayfield", @id=:mayfield, @tuning=F#, A#, C# F# A# F#'>, #<CFG::Tuning:0x8e53e24 @title="Open E", @id=:open_e, @tuning=E, B, E G# B E'>, #<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>, #<CFG::Tuning:0x8e51d2c @title="Open G", @id=:open_g, @tuning=D, G, D G B D'>], @tuning_nr=7, @tuning=#<CFG::Tuning:0x8e52d80 @title="Open A", @id=:open_a, @tuning=E, A, E A C#' E'>>>

Outstream