[Radiant] Extensions tutorial > Rails error when generating
controller
Michael Erb
michael at erbmicha.com
Fri Jul 13 13:53:59 CDT 2007
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
More information about the Radiant
mailing list