Creating In Place Editors

I want to create my own in place editor, the one that comes with RoR does not do everything I would like it to do.

The reason I want to use a helper is because I don't want to maintain 2 views for each field I have. With in place editors the views are built in.

So my question to you is how are those views built-in? How does it really work. It does not seem so obvious to me.

Some of the things I want augement with the built-in editor is passing field introduction and field comments and change the XHTML.

Thanks for your help.

Your Friend,


put the code in helpers/application_helper.rb