Forum: Radiant CMS Extensions tutorial > Rails error when generating controller

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4c558adacf1144ccb4bee2e82b8ddc79?d=identicon&s=25 Michael Erb (Guest)
on 2007-07-13 20:55
(Received via mailing list)
I have an idea for an extension to Radiant so I figured I would go
through the tutorial real quick to see how to start.

When I get to the part 'Generating a Controller', I type in the
following:

script/generate extension_controller LinkRoll admin/links

and i get back:

  The name 'admin' is reserved by Ruby on Rails.
  Please choose an alternative and run this generator again.

hmmm. I know 'Admin' is in the list or reserved Rails keywords because
you can run './script/runner 'print Object.constants.sort.join(", ")''
and see it listed. So how to get around this? The admin is part of
Radiant as well isn't it?

Thanks for the help

erb
This topic is locked and can not be replied to.