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.

This project is archived and is in readonly mode.

Refactoring railties/lib/rails/commands/application.rb

#5045

In Rails3.Beta4

ARGV.empty? is useless.
If ARGV is empty, ARGV.first != "new" will always be true.

...

if ARGV.first != "new" # || ARGV.empty? is useless

ARGV[0] = "--help"

else

ARGV.shift

end

...

Reported by madjo DIAPENA · July 4th, 2010 @ 05:30 PM

State: committed
Milestone: none
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. José Valim
    José Valim
    • State changed from new to committed
    • Importance changed from to Low

    Applied! Thanks!

    July 8th, 2010 @ 09:38 PM