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.

Matthew O'Riordan's latest activity

Monday, January 18 2010
3680 Scope problem with ActiveRecord in before_save or after_save when using creat... was updated in Ruby on Rails
  • Matthew O'Riordan
    Matthew O'Riordan commented at 12:28 PM

    Hi Tom

    Thanks for explaining that to me. The per class thread local stack certainly makes sense, and I do understand now why this is happening. I do think this ...

Friday, January 15 2010
3680 Scope problem with ActiveRecord in before_save or after_save when using creat... was updated in Ruby on Rails
  • Matthew O'Riordan
    Matthew O'Riordan commented at 11:33 AM

    Hi Tom

    Thanks for that reply, and can certainly understand the view that this is not necessarily a bug, but perhaps a subtlety of the way my code was implemente...

Sunday, January 10 2010
3680 Scope problem with ActiveRecord in before_save or after_save when using creat... was created in Ruby on Rails
  • Matthew O'Riordan
    Matthew O'Riordan created the ticket at 5:08 PM

    I have discovered an easily replicable bug in ActiveRecord when calling the create method on a scope. However, strangely when using the build method and then ca...