D
donny24
All,
I am getting an error when viewing localhost development of my Ruby
app. Has anyone seen anything similar to that below?
ActiveRecord::StatementInvalid in Admin/authorController#new
Mysql::Error: Lost connection to MySQL server during query: SHOW
FIELDS FROM authors
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/connection_adapters/abstract_adapter.rb:120:in `log'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/connection_adapters/mysql_adapter.rb:184:in `execute'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/connection_adapters/mysql_adapter.rb:292:in `columns'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/base.rb:696:in `columns'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/base.rb:1969:in `attributes_from_column_definition'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/base.rb:1351:in `initialize_without_callbacks'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/callbacks.rb:236:in `initialize'
#{RAILS_ROOT}/app/controllers/admin/author_controller.rb:4:in `new'
#{RAILS_ROOT}/app/controllers/admin/author_controller.rb:4:in `new'
I am getting an error when viewing localhost development of my Ruby
app. Has anyone seen anything similar to that below?
ActiveRecord::StatementInvalid in Admin/authorController#new
Mysql::Error: Lost connection to MySQL server during query: SHOW
FIELDS FROM authors
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/connection_adapters/abstract_adapter.rb:120:in `log'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/connection_adapters/mysql_adapter.rb:184:in `execute'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/connection_adapters/mysql_adapter.rb:292:in `columns'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/base.rb:696:in `columns'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/base.rb:1969:in `attributes_from_column_definition'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/base.rb:1351:in `initialize_without_callbacks'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/
active_record/callbacks.rb:236:in `initialize'
#{RAILS_ROOT}/app/controllers/admin/author_controller.rb:4:in `new'
#{RAILS_ROOT}/app/controllers/admin/author_controller.rb:4:in `new'