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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Michael Erb (Guest)
on 2007-07-13 22: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

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

This topic is locked and can not be replied to.