P
Peter Woodsky
I cannot do a select on a decimal field all others work fine. Any help
in solving this is greatly appreciated.
Ruby throws this error.
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: error in ruby
[Wed Jan 30 13:46:34 2008] [error] mod_ruby:
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:649:in `column_info': undefined
method `[]' for nil:NilClass (NoMethodError)
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:648:in `each'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:648:in `column_info'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:573:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:570:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/dbi.rb:893:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/dbi.rb:480:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/var/www/peter/planet/page/history:38
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from (eval):117
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'
in solving this is greatly appreciated.
Ruby throws this error.
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: error in ruby
[Wed Jan 30 13:46:34 2008] [error] mod_ruby:
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:649:in `column_info': undefined
method `[]' for nil:NilClass (NoMethodError)
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:648:in `each'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:648:in `column_info'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:573:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:570:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/dbi.rb:893:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/dbi.rb:480:in `execute'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/var/www/peter/planet/page/history:38
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from (eval):117
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `eval_string_wrap'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/eruby-run.rb:116:in `run'
[Wed Jan 30 13:46:34 2008] [error] mod_ruby: from
/usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'