This project is archived and is in readonly mode.

#6241 ✓resolved
Prem Sichanugrist (sikachu)

Make sure that generator's default banner is showing its namespace

Reported by Prem Sichanugrist (sikachu) | December 31st, 2010 @ 05:18 PM | in 3.0.5

Currently if you run a namespaced generator help message, it would show up only the latter part of the generator:

[~/Projects/test_edge] rails g rspec:install --help
  rails generate install  [options]

I found out that there's a method name namespace which returns the correct generator with namespaced name, so now if you run it it would be:

[~/Projects/test_edge] rails g rspec:install --help
  rails generate rspec:install [options]

However, for those Rails's internal generators, it would show the default rails: namespace. So I have to #sub those out.

I don't see where I should put the test for this functionality. If the test is required, please guide me the best place for it.

Thank you, and happy new year!

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>