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.

Brennan Dunn's latest activity

Sunday, August 31 2008
947 Fix options hash mutation in AssociationCollection was created in Ruby on Rails
  • Brennan Dunn
    Brennan Dunn created the ticket at 11:30 PM

    Reusing a hash of options for multiple finder queries on an association is problematic as the inputted options hash becomes mutated by #find. Attached patch sim...

946 Pass blocks to before/after filter methods using :with option was updated in Ruby on Rails
  • Brennan Dunn
    Brennan Dunn commented at 10:48 PM

    Typo in documentation. SpecialController should extend ApplicationController (applies to ticket example, also).

    Revised patch attached.

  • Brennan Dunn
    Brennan Dunn created the ticket at 10:47 PM

    I recently found a need to have an application-wide before_filter perform differently from certain controllers. I thought it could be useful to do something lik...

Thursday, August 28 2008
407 Accept arrays of symbols as values for collection/member actions of resources was updated in Ruby on Rails
  • Brennan Dunn
    Brennan Dunn commented at 12:57 PM

    Jeremy, attached is both my original patch and Gaius' reworked for master.

  • Brennan Dunn
    Brennan Dunn commented at 12:37 PM

    Jeremy, updated my patch against the latest master.

Wednesday, June 18 2008
357 Update rdocs on rubyonrails.org was updated in Ruby on Rails
Monday, June 16 2008
430 validates_non_format_of - the converse of validates_format_of was updated in Ruby on Rails
  • Brennan Dunn
    Brennan Dunn commented at 6:31 PM

    Agreed. I wasn't feeling creative enough to come up with a decent method name ;-)

  • Brennan Dunn
    Brennan Dunn created the ticket at 4:21 PM

    Considering that there exists validates_inclusion_of/validates_exclusion_of, I figured it would be prudent to have the same relationship established for the fo...

417 Add ActionView::Helpers::TextHelper#current_cycle to return the current cycle... was updated in Ruby on Rails
  • Brennan Dunn
    Brennan Dunn commented at 4:29 PM

    I can definitely see how being able to access the current value of a cycle would be useful, especially in the event that the value of the current cycle could g...

Friday, June 13 2008
407 Accept arrays of symbols as values for collection/member actions of resources was updated in Ruby on Rails
  • Brennan Dunn
    Brennan Dunn commented at 3:45 PM

    E-mail typo in diff file