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.

Paul Rosania's latest activity

Thursday, January 28 2010
3788 [PATCH] Rails 3.0.pre initializers do not always bind in the proper order was updated in Ruby on Rails
  • Paul Rosania
    Paul Rosania commented at 9:56 PM

    Updated patch attached.

    The new initializer method highlights an implicit :before dependency in the AR initializers. I made the dependency explicit, which resol...

  • Paul Rosania
    Paul Rosania commented at 4:25 PM

    Hmm. This is a side effect of the sort. Any test checking whether initializers loaded or not will need to be agnostic to the exact order. I will take a look and...

Wednesday, January 27 2010
3788 [PATCH] Rails 3.0.pre initializers do not always bind in the proper order was updated in Ruby on Rails
  • Paul Rosania
    • Title changed from Rails 3.0.pre initializers do not always bind in the proper order to [PATCH] Rails 3.0.pre initializers do not always bind in the proper order
    by Paul Rosania at 1:41 PM
  • Paul Rosania
    Paul Rosania commented at 6:30 AM

    Patch attached for discussion.

    I have modified the dependency resolution algorithm to use topographical sort (leveraging tsort from the Ruby standard library).

    ...

Tuesday, January 26 2010
3788 Rails 3.0.pre initializers do not always bind in the proper order was created in Ruby on Rails
  • Paul Rosania
    Paul Rosania created the ticket at 3:04 AM

    Rails::Initializable::Collection does not always properly account for :after and :before requirements.

    The sorting algorithm in Collection#initialize searches f...