Forget what I said before.
I’m trying to use the Ajax In-Place Editor with drop downs.
In Scriptaculous 1.5.3 an Ajax In Place Collection Editor was added.
This is about it as far as integration with Rails :
Here is something I don’t understand -
“For example, in a list.rhtml file, the following defines an editor
field called custom_field that has a number of options taken from the
<%= in_place_collection_editor_field ‘custom_field’, ‘field_type’,
Okay, I get this but why isn’t the model for the custom_field included
Normally in a collection_select it would be :(model :method …)
So that is kind of weird. And what is really throwing me is the
@i = CustomField.find(params[:id]) # if this is the field that the
will be written to why am i doing a find?
f = FieldType.find(params[:value])