List Info

Thread: gem mysql buggy on Win32




gem mysql buggy on Win32
user name
2006-09-07 14:26:48
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/activ
e_record/connection_adapters/mysql_a
dapter.rb:292:in `columns'

....
....

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

-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---

gem mysql buggy on Win32
user name
2006-09-07 15:09:37
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



On 9/7/06, Jeroen Houben <andreas-s.net">rails-mailing-listandreas-s.net > wrote:

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&gt;
 &nbsp;  c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_a
dapter.rb:292:in `columns'

....
....

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

--
Posted via http://www.ruby-forum.com/.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )