Brian's huge chordlist collection

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:99:in `block in display' (eval):6:in `body' /var/www/web/html/chordlist.fcgi/view/views.rb:110:in `block (2 levels) in display' (eval):12:in `div' /var/www/web/html/chordlist.fcgi/view/views.rb:116:in `block (3 levels) in display' (eval):26:in `h2'

undefined method `to_a' for "Instrument":String

Model

Instance Variables

@database

#<Database:0x8e44af0>

@cgi

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

@args

"en"

@request_uri

"/en"

@user_agent

"newspaper/0.2.8"

@params

{}

@sorting

:r

@language

:en

@view

:b

Inspect

#<Requests::Index:0x8c0cd64 @database=#<Database:0x8e44af0>, @cgi=#<FCGI::CGI:0x8c0d458 @request=#<FCGI:0x8c0e330>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>, @args="en", @request_uri="/en", @user_agent="newspaper/0.2.8", @params={}, @sorting=:r, @language=:en, @view=:b>

View

Instance Variables

@__outstream

#<FCGI::Stream:0x8c0e2cc>

@model

#<Requests::Index:0x8c0cd64 @database=#<Database:0x8e44af0>, @cgi=#<FCGI::CGI:0x8c0d458 @request=#<FCGI:0x8c0e330>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>, @args="en", @request_uri="/en", @user_agent="newspaper/0.2.8", @params={}, @sorting=:r, @language=:en, @view=:b>

Inspect

#<Views::Index:0x8c0c724 @__outstream=#<FCGI::Stream:0x8c0e2cc>, @model=#<Requests::Index:0x8c0cd64 @database=#<Database:0x8e44af0>, @cgi=#<FCGI::CGI:0x8c0d458 @request=#<FCGI:0x8c0e330>, @options={:accept_charset=>"UTF-8"}, @accept_charset="UTF-8", @multipart=false, @params={}, @cookies={}, @output_cookies=nil, @output_hidden=nil, @args=[]>, @args="en", @request_uri="/en", @user_agent="newspaper/0.2.8", @params={}, @sorting=:r, @language=:en, @view=:b>>

Outstream

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