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
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
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>
> 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---