script/generate namespaced controllers

does this happen to anyone else? edge rails.

kain-osx:careme kain$ script/generate controller api/documents index
show
      create app/controllers/api
      create app/helpers/api
      create app/views/api/documents
      create test/functional/api
      create app/controllers/api/documents_controller.rb
      create test/functional/api/documents_controller_test.rb
      create app/helpers/api/documents_helper.rb
      create app/views/api/documents/index.html.erb
      create app/views/api/documents/show.html.erb
kain-osx:careme kain$ script/generate controller api/diagnoses index
show
  The name 'api' is either already used in your application or
reserved by Ruby on Rails.
  Please choose an alternative and run this generator again.

  Suggestions:

Apus
genus Apus

on the first try things works, the second time you generate a
controller via the same namespace throws this error, tried with
different words, same result.

I'm not sure, if there are several alternative
syntax variants for this, but we use:

script/generate controller app:documents

colon instead of slash here

hi,
I've already tried:

kain-osx:careme kain$ script/generate controller api:diagnoses index
show
wrong constant name Api:diagnosesController

kain-osx:careme kain$ script/generate controller api:Diagnoses index
show
wrong constant name Api:DiagnosesController

kain-osx:careme kain$ script/generate controller api::diagnoses index
show
   The name 'api' is either already used in your application or
reserved by Ruby on Rails.
   Please choose an alternative and run this generator again.

   Suggestions:

Apus
genus Apus

The name 'api' is either already used in your application or
reserved by Ruby on Rails.

maybe api is a keyword and can't be used?
Did you try another one?

I think this is related to this:

http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/138-script-generate-glitch-for-controllers-in-modules