Issue with autocomplete jquery.

I bet the main difference between your production & development environment is the data in your db. Can you identify the exact record / object that is causing the error? Use your logs or console in your production environment to find the the object that has an issue with the ‘truncate’ method.

change: //= require_directory ./vendor

to

//= require_tree ./vendor