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.

parrish's latest activity

Tuesday, March 01 2011
6496 attr_accessor_with_default with collections was updated in Ruby on Rails
  • parrish
    • Tag changed from activesupport, core_ext, module to activesupport, core_ext, module, patch
    by parrish at 7:28 PM
  • parrish
    parrish commented at 7:24 PM

    I'm sure there is a more elegant approach to this, but I couldn't think of a simpler one that maintained scopes correctly.
    Refactoring suggestions are welcome :...

  • parrish
    parrish created the ticket at 7:14 PM

    I started digging into this when I stumbled across this SO question: http://stackoverflow.com/questions/3481406
    To give an example of the unexpected behavior:

    ...