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.

Bug in script/generate

#1059

if i want to generate a controller e.g. "news" with script/generate controller news everything went fine... after this i want to create an controller like "admin:news" it will fail with the following error:

The name 'Admin::NewsHelper' is either already used in your application or reserved by Ruby on Rails. Please choose an alternative and run this generator again.

But this helper isnt present, its a false positiv. i i move the "mv app/helpers/news_helper.rb ." and start again, than it works, after that i copy the helper back "v news_helper.rb app/helpers/"

please fix this false positiv

thanks

Reported by beanie · September 16th, 2008 @ 05:26 PM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. ronin-16982 (at lighthouseapp)
  2. beanie
    beanie

    Ok sorry, it can be closed ;)

    Am 16.09.2008 um 21:12 schrieb Lighthouse:

    September 16th, 2008 @ 08:40 PM

  3. ronin-16982 (at lighthouseapp)
    ronin-16982 (at lighthouseapp)

    Actually this seems to be a duplicate of #138 but it is related to #545.

    September 16th, 2008 @ 09:02 PM

  4. stone1549
    stone1549

    This appears to be fixed in edge.

    September 16th, 2008 @ 09:03 PM

  5. josh
    josh
    • State changed from new to duplicate
    • Tag changed from bug, controller, helper to bug, controller, helper

    Follow up on #545

    October 12th, 2008 @ 07:01 PM