Ruby on Rails
Friday, February 14, 2014
change:
//= require_directory ./vendor
to
//= require_tree ./vendor
On Feb 14, 2014, at 3:00 PM, "James Davis, PhD" <james.davisphd@gmail.com> wrote:
On Friday, February 14, 2014 4:21:58 AM UTC-6, Sridhar Vedula wrote: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 ./vendorBut 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.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.--
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/38802246-202f-46a3-8e2a-2f91c8b1d1e8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment