MySql adapter error


#1

Most likely due to something I misconfigured and/or broke when trying to
get
the new polymorphic acts_as_taggable to work…In short, after
installing
that gem and then trying to run gem install mysql on my windows server,
I’ve
been getting this weird error on every page I try to hit.

If anyone give give me any insight into how I messed this up or how to
fix,
it would be much appreciated.

The error is

Mysql::Error: #42S22Unknown column ‘joinsincludeconditions’ in ‘where
clause’: SELECT COUNT(*) FROM meal_names WHERE (joinsincludeconditions)

If I take the “rails” folder out of my vendor folder, I don’t get the
error
but just a blank screen. Here’s the rest of the error (well, some of it
anyway):

c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
log' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:inexecute’
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in
select' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:175:inselect_one’
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:16:in
select_value' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:518:incount_by_sql’
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:511:in
count' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/pagination.rb:167:incount_collection_for_pagination’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/pagination.rb:189:in
paginator_and_collection_for' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/pagination.rb:124:inpaginate’
#{RAILS_ROOT}/app/controllers/meals_controller.rb:8:in list' #{RAILS_ROOT}/app/controllers/meals_controller.rb:3:inindex’