szimek
2008-Jun-02 20:47 UTC
Rails 2.1 - when PostsController is present, creating Admin::PostsController fails
Hi, just found out small problem with Rails 2.1. If I run a "script/generate scaffold post title:string" that creates PostsController and later want to make admin controller for it by running "script/generate controller admin/posts", Rails complain that: "The name ''Admin::PostsHelper'' is either already used in your application or reserved by Ruby on Rails." It worked fine in 2.0.2. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- "uninitialized constant PostsController::Post"
- Creating incorrect plurals when generating scaffold
- rails equivalent to symfony admin generator?
- How to get a users screen name into a hidden field in a PostsController action?
- rails guides - getting started - section 10 security