# Admin config editor

**URL:** <https://www.ruby-forum.com/t/admin-config-editor/92653>\
**Category:** Radiant CMS\
**Created:** [April 22, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/admin-config-editor/92653 "2007-04-22T16:49:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbusso](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@sbusso](https://www.ruby-forum.com/u/sbusso)\
**Post date:** [April 22, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/admin-config-editor/92653/1 "2007-04-22T16:49:15Z")

</div>

Hi all,

I found some posts but not found any extension about an interface in  
admin to manage the config.

Then I tried to make one. As I’m new about Radiant, it should be a  
useful exercise 🙂

I have started _something_ at  
[http://www.rubynaut.net/svn/radiant/extensions/config\_editor/](http://www.rubynaut.net/svn/radiant/extensions/config_editor/)

I got 1 (2) problem(s). The Config class is created under the Radiant  
module, and when I try to access usual ActiveRecord methods (as the  
find) I got an error from the ‘Config Module’. I have got same problem  
when I want to use the model abstract controller (can’t find _find_  
method for Config Module)

To bypass these issues I extended Radiant::Config for the _find_  
method and did the minimum in controller. For now, the editor only  
reads and updates values (in place editor).

Could you tell me what I’m doing wrong ? what is the solution to make  
it cleaner ? Is there any restriction in accessing directly to the  
Config table ?

Anyway, the extension system is great and it’s very easy to add an  
admin interface, thanks !
