Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9081 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

edge Rails broken due to load-order inconsistency

Reported by: the_mug Assigned to: core
Priority: high Milestone: 1.x
Component: ActiveSupport Version: edge
Severity: minor Keywords: tiny
Cc: mislav

Description

This breakage happens because core_ext/module gets included before core_ext/array, which defines extract_options. So placing the sort before the each, fixes it for me. This is a one liner that's hard to write a test for.

I'm running Ubuntu Edgy. ruby 1.8.6

Attachments

core_ext.patch (380 bytes) - added by the_mug on 07/24/07 18:29:00.

Change History

07/24/07 18:28:42 changed by mislav

  • severity changed from major to minor.

+1

without this Rails is completely broken on some platforms

07/24/07 18:29:00 changed by the_mug

  • attachment core_ext.patch added.

07/24/07 18:36:16 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

(In [7225]) Fix load-order inconsistency (closes #9081) [themug]