# Name 'admin' is reserved by Ruby on Rails

**URL:** <https://www.ruby-forum.com/t/name-admin-is-reserved-by-ruby-on-rails/158315>\
**Category:** Radiant CMS\
**Created:** [January 21, 2009, 11:57pm UTC](https://www.ruby-forum.com/t/name-admin-is-reserved-by-ruby-on-rails/158315 "2009-01-21T23:57:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gomix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/858c86/32.png) [@gomix](https://www.ruby-forum.com/u/gomix)\
**Post date:** [January 21, 2009, 11:57pm UTC](https://www.ruby-forum.com/t/name-admin-is-reserved-by-ruby-on-rails/158315/1 "2009-01-21T23:57:36Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi, trying to start a new extension and following  
[http://wiki.radiantcms.org/Creating\_Radiant\_Extensions](http://wiki.radiantcms.org/Creating_Radiant_Extensions) i got this  
problem creating the controller.

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

what can i be doing wrong ?

thanks  
Guillermo  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.9 (GNU/Linux)  
Comment: Using GnuPG with Fedora - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iEYEARECAAYFAkl3qDUACgkQcSOFtc3tqRWywQCfWHsZRvwtHo5+Wt08/OHEMpaM  
rpEAnRLHJOXIii9C3lMrbTPMmVmn2Nh2  
=W9H5  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![gomix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/858c86/32.png) [@gomix](https://www.ruby-forum.com/u/gomix)\
**Post date:** [January 22, 2009, 12:10am UTC](https://www.ruby-forum.com/t/name-admin-is-reserved-by-ruby-on-rails/158315/2 "2009-01-22T00:10:28Z")

</div>

Hi,

I had this problem too, but not when using a newly created instance of  
Radiant without any modifications or extensions. So I tried to find  
the extension causing the issue. I traced it to the line

require ‘application’

which can be found e.g. in the paperclipped extension twice.

I didn’t find any real solution. My workaround was commenting out  
these two lines, running the generator and after that restoring the  
lines.

Regards,  
Marc

Am 21.01.2009 um 23:56 schrieb Guillermo GÃ³mez \<removed\_email\_address@domain.invalid  
m\>:
