brianmario/mysql2 — Issue #237: Table doesn't exist 
Author: antonevane
Created: 2012-01-14 20:04:34+00:00
State: open

After bundle update i have a strange issue.

mysql 0.2.18
rails 3.0.11

Strange issue because 'ate' is my database name

Instance method "fail" is already defined in Object, use generic helper instead or set StateMachine::Machine.ignore_method_conflicts = true.
/var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/mysql2-0.2.18/lib/active_record/connection_adapters/mysql2_adapter.rb:263:in `query': Table 'ate.properties' doesn't exist (Mysql2::Error)
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/mysql2-0.2.18/lib/active_record/connection_adapters/mysql2_adapter.rb:263:in `execute'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/mysql2-0.2.18/lib/active_record/connection_adapters/mysql2_adapter.rb:413:in `columns'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/base.rb:685:in `columns'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/base.rb:698:in `column_names'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/relation.rb:370:in `block in method_missing'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/relation.rb:125:in `scoping'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/relation.rb:370:in `method_missing'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/conditions.rb:92:in `condition_details'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/conditions.rb:68:in `local_condition?'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/conditions.rb:61:in `condition?'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/association_conditions.rb:6:in `condition?'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/association_ordering.rb:14:in `condition?'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/ordering.rb:11:in `condition?'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rd_searchlogic-3.0.1/lib/searchlogic/named_scopes/ordering.rb:31:in `order'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/base.rb:447:in `order'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/spree_core-0.40.0/app/models/property.rb:9:in `'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/spree_core-0.40.0/app/models/property.rb:1:in `'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:239:in `require'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:239:in `block in require'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:227:in `load_dependency'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:239:in `require'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:346:in `require_or_load'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:300:in `depend_on'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:216:in `require_dependency'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:138:in `block (2 levels) in eager_load!'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:137:in `each'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:137:in `block in eager_load!'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:135:in `each'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:135:in `eager_load!'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/application/railties.rb:11:in `each'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/application/railties.rb:11:in `all'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/application.rb:107:in `eager_load!'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/application/finisher.rb:41:in `block in '
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:25:in `instance_exec'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:25:in `run'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:50:in `block in run_initializers'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:49:in `each'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:49:in `run_initializers'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/application.rb:134:in `initialize!'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/railties-3.0.11/lib/rails/application.rb:77:in `method_missing'
from /var/www/home/hae/projects/pp/releases/test_2012_01_09_19:54/config/environment.rb:6:in `'
from config.ru:4:in `require'
from config.ru:4:in `block in

'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:46:in `instance_eval'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:46:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `

'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn.rb:44:in `eval'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn.rb:44:in `block in builder'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/bin/unicorn_rails:139:in `call'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/bin/unicorn_rails:139:in `block in rails_builder'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:688:in `call'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:688:in `build_app!'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:134:in `start'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/gems/unicorn-4.1.1/bin/unicorn_rails:209:in `'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/bin/unicorn_rails:19:in `load'
from /var/www/home/hae/projects/pp/shared/gems/ruby/1.9.1/bin/unicorn_rails:19:in `

'