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 Darby's latest activity

Tuesday, May 05 2009
750 Keeping track of validations with a hash was updated in Ruby on Rails
  • Matt Darby
    Matt Darby commented at 4:42 PM

    I posted this ticket nearly a year ago and I'd still love to have this feature. I'd update my attempt, but it sounds like Erik is on the case.

Thursday, April 30 2009
750 Keeping track of validations with a hash was updated in Ruby on Rails
  • Matt Darby
    Matt Darby commented at 11:51 AM

    Didn't think there was sufficient interest...

Tuesday, March 31 2009
2304 Add concept of weekdays was updated in Ruby on Rails
Monday, March 30 2009
2304 Add concept of weekdays was updated in Ruby on Rails
  • Matt Darby
    Matt Darby commented at 9:20 PM

    I've updated the monkey patch you've provided (weekday_calculations_take_two.rb) with the latest changes.

  • Matt Darby
    Matt Darby commented at 9:19 PM

    Thanks Benjamin!

    1) I've updated the patch (weekdays_take_two.diff) and it now adds the following:

    • ActiveSupport::CoreExtensions::Date::Calculations

      • weekday...

Thursday, August 07 2008
762 Add find_last_by dynamic finder was updated in Ruby on Rails
Sunday, August 03 2008
750 Patch: ActiveRecord#required_attributes was updated in Ruby on Rails
  • Matt Darby
    Matt Darby commented at 6:45 PM

    Looks awesome. Having this functionality is huge in DRYing up forms!

  • Matt Darby
    Matt Darby created the ticket at 2:48 PM

    As it stands, there is no easy way to enumerate which attributes in a model are required.

    This patch creates a new attribute #required_attributes which simply...

Monday, July 28 2008
713 New Inflectors: Actionize and Parameterize was updated in Ruby on Rails
  • Matt Darby
    Matt Darby commented at 12:53 PM

    @Clemens

    Actually, I don't use permalinks in this application. I simply override #to_param to make the link a little more helpful to the end user and for chea...

Sunday, July 27 2008
713 New Inflectors: Actionize and Parameterize was updated in Ruby on Rails
  • Matt Darby
    Matt Darby commented at 6:46 PM

    #underscore and #parameterize differ in how they handle spaces and special characters.

    >> "Donald E. Knuth".underscore
    => "donald e. knuth"
    >> "Donald E. Kn...