I am getting this odd jQuery related error in Rails 3.1:

Uncaught ReferenceError: existing_custom_fields is not defined

Once I track down the cause I’ll post more details here.