Hello,
Does anyone see the following error? Is it possible that it has
something
to do with the connection maintained by active record timing out?
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
`log'': Mysql::Error: MySQL server has gone away: SELECT * FROM toys
WHERE (toys.id = 28) LIMIT 1 (ActiveRecord::StatementInvalid)
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in
`execute''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in
`select''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:171:in
`select_all''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in
`find_by_sql''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:395:in
`find''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:393:in
`find''
from
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:409:in
`find''
from
/home/traderfi/rails/offer1/site/script/app/offer/offer-email-uploader:266:in
`main''
from
/home/traderfi/rails/offer1/site/script/app/offer/offer-email-uploader:263:in
`main''
from
/home/traderfi/rails/offer1/site/script/app/offer/offer-email-uploader:286
--
Posted via http://www.ruby-forum.com/.