# Extensions tutorial \> Rails error when generating controller

**URL:** <https://www.ruby-forum.com/t/extensions-tutorial-rails-error-when-generating-controller/109375>\
**Category:** Radiant CMS\
**Created:** [July 13, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/extensions-tutorial-rails-error-when-generating-controller/109375 "2007-07-13T20:55:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Erb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc348/32.png) [@Michael\_Erb](https://www.ruby-forum.com/u/Michael_Erb)\
**Post date:** [July 13, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/extensions-tutorial-rails-error-when-generating-controller/109375/1 "2007-07-13T20:55:30Z")

</div>

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
