Gem mysql buggy on Win32

Hi,

Just running a simple unit test and trying to save an object gives me
this error.

test_validations(FriendTest):
NoMethodError: undefined method each' for #<Mysql:0x38f60d0> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_a dapter.rb:292:incolumns’


Rails 1.1.6
mysql 5
mysql gem 2.71

After I uninstalled the mysql gem everything went fine. I know more
people have experienced this.

Jeroen

I’m surprised you ever got the mysql gem to work properly on Windows.
Most
systems I’ve seen don’t seem to play well.

What works awesome though is this:

http://www.vandomburg.net/pages/mysql-ruby-windows