Forum: Radiant CMS name 'admin' is reserved by Ruby on Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Guillermo G. (Guest)
on 2009-01-22 00:57
(Received via mailing list)
-----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-----
Marc Reuter, twisted pair GmbH (Guest)
on 2009-01-22 01:10
(Received via mailing list)
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>:
This topic is locked and can not be replied to.