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.

Brian Durand's latest activity

Thursday, June 24 2010
4891 Rails-2.3.8 db:migrate gives undefined method `length' for :any_index:Symbol was updated in Ruby on Rails
  • Brian Durand
    • Tag changed from rake db:migrate rails-2.3.8 bug, patch to rake db:migrate rails-2.3.8 bug, 3.0, patch
    by Brian Durand at 6:13 PM
  • Brian Durand
    Brian Durand commented at 6:12 PM

    This same issue is present in 3.0.0.beta4.

Friday, June 18 2010
2991 After Transaction Patch was updated in Ruby on Rails
  • Brian Durand
    Brian Durand commented at 11:06 PM

    I found another bug with this code. The rollback code is resetting the id to its previous value. However, the attributes hash is frozen. The attached patch fixe...

Tuesday, June 08 2010
2991 After Transaction Patch was updated in Ruby on Rails
  • Brian Durand
    Brian Durand commented at 8:48 PM

    Fixed. I'd mistakenly assumed the :on option was universal for all callbacks. The callbacks are now modeled after the validation call backs which support the :o...

Tuesday, June 01 2010
3945 helper :all on by default was updated in Ruby on Rails
  • Brian Durand
    Brian Durand commented at 9:17 PM

    +1 for me. I'm having the same issue with an admin interface that uses the same method names as the public interface but require different outputs.

Wednesday, May 05 2010
4537 Add method to get to content captured with content_for from helper methods was updated in Ruby on Rails
  • Brian Durand
    Brian Durand commented at 7:02 PM

    Yep, understood. Just to confirm, will you add a comment to the rdoc?

  • Brian Durand
    Brian Durand commented at 3:18 PM

    Great, 'cuz I was thinking that would be the perfect name for the method but it was already taken.

  • Brian Durand
    Brian Durand created the ticket at 2:30 PM

    In Rails 3 the only way to get for content captured with the content_for method in a view is to call yield from within a view. However, sometimes is it useful t...

Thursday, April 29 2010
2991 After Transaction Patch was updated in Ruby on Rails
  • Brian Durand
    Brian Durand commented at 9:19 PM

    I do like the features available with a block. I have written my fair share of truly ugly after_save monstrosities. The instance API would be great for all call...

  • Brian Durand
    Brian Durand commented at 9:16 PM

    Here's a patch to update the API to the new style in the comments and the tests.