JRuby

Dir.glob ordering inconsistent with Matzruby

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.1
  • Fix Version/s: JRuby 1.4
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Number of attachments :
    0

Activity

Hide
Daniel Hahn added a comment -

Steps to reproduce the routing problem:

  • Create an empty rails app
  • script/generate controller thingy
  • script/generate cotnroller thing/subthingy
  • script/console
    > ActionController::Routing::Routes.recognize_path('/thingy/subthingy', { :method => :get })

=> This recognizes controller => 'thingy', action => 'subthingy'
=> It should recognize controller => 'thingy/subthingy'

See the debug results on the mailing list page.

Show
Daniel Hahn added a comment - Steps to reproduce the routing problem:
  • Create an empty rails app
  • script/generate controller thingy
  • script/generate cotnroller thing/subthingy
  • script/console > ActionController::Routing::Routes.recognize_path('/thingy/subthingy', { :method => :get })
=> This recognizes controller => 'thingy', action => 'subthingy' => It should recognize controller => 'thingy/subthingy' See the debug results on the mailing list page.
Hide
Charles Oliver Nutter added a comment -

At the very least Rails should not depend on the order in which files are returned from Dir globbing, so I almost want to mark this as "won't fix".

Show
Charles Oliver Nutter added a comment - At the very least Rails should not depend on the order in which files are returned from Dir globbing, so I almost want to mark this as "won't fix".
Hide
Ola Bini added a comment -

Fixed as part of my 1.8.7 work.

Show
Ola Bini added a comment - Fixed as part of my 1.8.7 work.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: