This project is archived and is in readonly mode.

#562 ✓duplicate
Tsutomu Kuroda

Controller generator fails to create controller within a module

Reported by Tsutomu Kuroda | July 7th, 2008 @ 02:05 PM | in 2.x

When I have created a controller Member and try to create a controller 'admin/members', the generator fails to create it complaining that the name 'Admin::MembersHelper' is reserved by Ruby on Rails.

This problem happens with Rails 2.1.0.

The code of Rails::Generator::Commands::Create#class_collisions was changed between 2.0.2 and 2.1.0. It seems that this modification causes the problem.

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>

People watching this ticket

Pages