Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Mike Perham's latest activity

Sunday, March 08 2009
2166 assert_template broken in 2.3.1 was updated in Ruby on Rails
  • Mike Perham
    Mike Perham commented at 4:06 PM

    I spent some time trimming down my plugins and gems to make you a reproducible test case. This lead me to discover that it is in fact one of my gem plugins that...

  • Mike Perham
    Mike Perham created the ticket at 2:17 AM

    I have a 2.2.2 app which passes all tests. I change only the rails gem version to 2.3.1 in config/environment.rb and all tests still pass except for tests that ...

Friday, March 06 2009
2154 Rails 2.3.1 rack error in Ruby 1.9.1 was created in Ruby on Rails
  • Mike Perham
    Mike Perham created the ticket at 4:10 PM
    
    [2009-03-06 10:03:59] ERROR NoMethodError: undefined method `each' for #<String:0x34aaf1c>
    	/usr/local/lib/ruby191/gems/1.9.1/gems/actionpack-2.3.1/lib/action...
2145 Rails tests fail in Ruby 1.9.1 was updated in Ruby on Rails
  • Mike Perham
    Mike Perham commented at 3:40 PM

    Then the fix is to include test-unit as a gem dependency. Rails should not be creating test infrastructure that does not work out of the box with Ruby 1.9.

Thursday, March 05 2009
2145 Rails tests fail in Ruby 1.9.1 was created in Ruby on Rails
  • Mike Perham
    Mike Perham created the ticket at 11:34 PM

    This is because ActiveSupport::TestCase line 10 pulls in Test::Unit::TestCase. This file does not exist in Ruby 1.9.1.

    Reproduce steps:

    
    # Create skeleton
    ra...
Wednesday, November 12 2008
1363 Exception Notifier fails under threadsafe! was created in Ruby on Rails
  • Mike Perham
    Mike Perham created the ticket at 9:10 PM

    The ExceptionNotifier plugin does not require its classes in init.rb but rather depends on lazy class loading via autoloading. This doesn't work in threadsafe! ...

Monday, May 26 2008
250 Mysql Deadlock debugging was updated in Ruby on Rails
  • Mike Perham
    Mike Perham commented at 2:22 AM

    One thing I forgot, the log_innodb_status method should be moved down to the private section.

  • Mike Perham
    Mike Perham commented at 2:11 AM

    Thanks for the pointer, Jeremy. Patch attached.

Sunday, May 25 2008
250 Mysql Deadlock debugging was updated in Ruby on Rails
  • Mike Perham
    Mike Perham commented at 11:19 PM

    Jeremy, sorry I'm not terribly git-fluent. I've pushed a new commit with the error handling you requested to my fork but I don't know the exact patch command ...

  • Mike Perham
    Mike Perham created the ticket at 5:01 PM

    Deadlocks and lock timeouts can be difficult to debug. This patch updates MysqlAdapter.execute to catch lock errors and print the results of SHOW INNODB STATU...