Forum: Ruby on Rails MySql adapter error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4c4c46ad9a5e4df8ba4ea8353e19c2fd?d=identicon&s=25 Curtis Edmond (Guest)
on 2006-02-15 22:04
(Received via mailing list)
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:in
`execute'
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:in
`select_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:in
`count_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:in
`count_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:in
`paginate'
#{RAILS_ROOT}/app/controllers/meals_controller.rb:8:in `list'
#{RAILS_ROOT}/app/controllers/meals_controller.rb:3:in `index'
This topic is locked and can not be replied to.