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.

John Hume's latest activity

Monday, January 05 2009
142 belongs_to association not updated when assigning to foreign key was updated in Ruby on Rails
  • John Hume
    John Hume commented at 6:12 PM

    Has there been any discussion of fixing this issue with a stale-check when reading the association rather than trying to clear cached objects when the foreign k...

Thursday, December 11 2008
142 belongs_to association not updated when assigning to foreign key was updated in Ruby on Rails
Wednesday, September 03 2008
319 Validation message formatting across the board was updated in Ruby on Rails
  • John Hume
    John Hume commented at 5:51 AM

    After a look at the conflict, I think this patch is now moot. It appears the I18n effort has resulted in {{value}} always being available for interpolation in e...

Monday, September 01 2008
319 Validation message formatting across the board was updated in Ruby on Rails
Saturday, June 14 2008
404 named_scope can bash critical methods was updated in Ruby on Rails
  • John Hume
    John Hume commented at 4:24 AM

    I don't think that patch is doing quite the right thing. To get the list of methods to warn about, it does this.

    RestrictedMethods = Class.methods + Class.pri...
Tuesday, June 03 2008
319 Validation message formatting across the board was created in Ruby on Rails
  • John Hume
    John Hume created the ticket at 5:19 PM

    This is a follow-up from #273.

    This patch adds the same feature to the other validations where it made sense. (I didn't include validates_confirmation_of sinc...

Thursday, May 29 2008
273 Format messages in validates_format_of was updated in Ruby on Rails
  • John Hume
    John Hume commented at 4:47 AM

    Updated the patch to fix a line of trailing whitespace.

  • John Hume
    John Hume created the ticket at 2:45 AM

    Error messages from validates_format_of can't currently include the rejected value the way validates_inclusion_of and validates_exclusion_of can. This patch en...