Hooray for investigating this. We've been getting "MySQL has gone away" for the past month (although it magically stopped last week).
On Thu, Jan 22, 2009 at 12:16, dubek <dov.mu...@gmail.com> wrote: > > def test_connection_has_mysql_reconnect_property > @connection = ActiveRecord::Base.connection > mysql_connection = @connection.instance_variable_get > (:@connection) > assert mysql_connection.reconnect > end > > This test fails. How can the test fail if the `reconnect` property is 0? Zero is true in Ruby. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---