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.

Matt Duncan's latest activity

Saturday, August 08 2009
2944 Titleize doesn't take all-uppercase words into account was updated in Ruby on Rails
  • Matt Duncan
    Matt Duncan commented at 1:28 AM

    Verified John's patch - sorry, should have included that in my previous update.

  • Matt Duncan
    Matt Duncan commented at 1:23 AM

    +1 to John's patch which checks for two consecutive uppercase letters.

    Helpful for the following:

    >> "OpenID".titleize
    => "OpenID"
    >> "ActiveRecord".titleize
    =...
769 auto_link should apply html_options to email addresses too was updated in Ruby on Rails
1255 time.end_of_day not entirely accurate was updated in Ruby on Rails
  • Matt Duncan
    Matt Duncan commented at 12:04 AM

    @Geoff - Here is the fixed patch, it includes only changes to the Time#end_of_ methods.

Friday, August 07 2009
1255 time.end_of_day not entirely accurate was updated in Ruby on Rails
  • Matt Duncan
    Matt Duncan commented at 2:26 AM

    Attached patch to fix all of the end_of methods: #end_of_day, #end_of_week, #end_of_month, #end_of_quarter, and #end_of_year. I've also updated the tests for th...