Name 'admin' is reserved by Ruby on Rails


#1

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

Hi, trying to start a new extension and following
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

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


#2

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>: