Ruby on Rails Friday, February 14, 2014

When I run my application in local machine the autocomplete functionality is working good, but after deployment it is failing.

This is the order in my application.js

//= require jquery
//= require jquery_ujs
//= require jquery.ui.datepicker
//= require jquery.ui.draggable
//= require jquery.ui.droppable
//= require jquery.remotipart
//= require twitter/bootstrap
//= require_tree .
//= require_directory ./vendor

But what I doubt is in the console it is throwing some error as :

Uncaught TypeError: Object [object Object] has no method 'truncate'

Please help me out.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8378f5e9-507e-40b6-b312-4fad65d72273%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment