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.

Tom Stuart's latest activity

Saturday, February 12 2011
6420 button_tag has the wrong default type and doesn't accept a block was created in Ruby on Rails
  • Tom Stuart
    Tom Stuart created the ticket at 12:46 PM

    The main reason for using <button> (instead of <input type="submit"> et al) is to make a button with content that is formatted, or different from the button's v...

Wednesday, November 03 2010
5911 BlankSlate removal hasn't been backported to 2-3-stable was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 8:49 AM
  • Tom Stuart
    Tom Stuart created the ticket at 8:41 AM

    This commit from 2009 replaces BlankSlate with a less invasive implementation in ActiveSupport::BasicObject. It never got backported to 2-3-stable, but it proba...

Monday, October 11 2010
3374 text_field() does not use overridden model accessors was updated in Ruby on Rails
Friday, January 15 2010
3680 Scope problem with ActiveRecord in before_save or after_save when using creat... was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 8:35 PM

    I do not understand why the scope in a callback event should be different when calling the save method over the build method

    The callback doesn't fire when yo...

Thursday, January 14 2010
3680 Scope problem with ActiveRecord in before_save or after_save when using creat... was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 9:37 AM

    Hi Matt,

    This is (arguably) a subtle problem with your code rather than a bug in ActiveRecord.

    The issue is that find and create methods called within a scope e...

Friday, November 06 2009
3355 Validation of autosaved associations is broken was updated in Ruby on Rails
  • Tom Stuart
    • Assigned user changed from Eloy Duran to Michael Koziarski
    by Tom Stuart at 3:04 PM

    Koz, can you help? This seems to have gone cold.

Monday, October 19 2009
3355 Validation of autosaved associations is broken was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 12:48 PM

    Ping.

    For now it'd be better just to revert this commit than to leave autosaved associations broken in 2-3-stable. Any regression-free performance improvements ...

Thursday, October 08 2009
3355 Validation of autosaved associations is broken was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 8:04 PM

    I'm sorry, I don't quite understand: I'm reporting a regression, not requesting a feature. Autosaved associations should be validated, and accepts_nested_attrib...

3161 [PATCH] AutosaveAssociation generates unneeded validations was updated in Ruby on Rails
  • Tom Stuart
    Tom Stuart commented at 4:56 PM

    This change breaks validation of autosave associations in some circumstances. See #3355.