This project is archived and is in readonly mode.

#1059 ✓duplicate
beanie

Bug in script/generate

Reported by beanie | September 16th, 2008 @ 05:26 PM | in 2.x

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

Comments and changes to this ticket

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages