Hi ! In http://thread.gmane.org/gmane.comp.lang.ruby.rails/39798 Damon Hill has a problem with afterUpdateElement. Now, I need the same functionnality, and I'm missing it too. The problem is with ActionView::Helpers::JavaScriptMacrosHelper::auto_complete_field. #auto_complete_field knows about certain AutoCompleter options, but not all of them. This is a maintenance nightmare, because new options in the JS library cannot be used until a new version of Rails is released, I patch my copy, or I hand-code the AutoCompleter instantiation call. At the moment, I patched #auto_complete_field to understand afterUpdateElement. But, what should we do in the future ? The same problem likely exists for #in_place_editor and other "glue" methods. I'm currently thinking that we should do the same thing as in other places - remove the options we already parsed, and translate any leftover keys using #camelize, and output the resulting options. Would a patch like this be accepted into core ? Thanks ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core