Paul Rosania
Not a member
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 commented at 9:56 PMUpdated patch attached.
The new initializer method highlights an implicit :before dependency in the AR initializers. I made the dependency explicit, which resol...
-
Paul Rosania commented at 4:25 PMHmm. 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
-
- 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
-
Paul Rosania commented at 6:30 AMPatch 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 created the ticket at 3:04 AMRails::Initializable::Collection does not always properly account for :after and :before requirements.
The sorting algorithm in Collection#initialize searches f...