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.

Controller generator fails to create controller within a module

#562

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.

Reported by Tsutomu Kuroda · July 7th, 2008 @ 02:05 PM

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

Activity

  1. Tarmo Tänav
  2. Tsutomu Kuroda
  3. josh
    josh
    • State changed from new to duplicate
    • Tag changed from 2.1, controller, generator, railties to 2.1, controller, edge, generator, generators, railties

    October 12th, 2008 @ 08:10 PM