This project is archived and is in readonly mode.
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
-
beanie September 16th, 2008 @ 08:40 PM
Ok sorry, it can be closed ;)
Am 16.09.2008 um 21:12 schrieb Lighthouse:
-
josh October 12th, 2008 @ 07:01 PM
- State changed from new to duplicate
- Tag changed from bug, controller, helper to bug, controller, helper
Follow up on #545
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>
People watching this ticket
Tags
Referenced by
- 138 script/generate glitch for controllers in modules I also think this ticket should be reopened since the pat...
- 545 Bug colliding classes (when they shouldn't) #1059 - another report of the issued (duplicate)