Jump to content

The ultimate community for Ruby on Rails developers.


Javascript issues in Production: ChardinJS and Jquery.pin do not work

  • Please log in to reply
No replies to this topic

#1 Nadeem



  • Members
  • 1 posts

Posted 23 December 2013 - 07:41 PM



Wrote a long post, but it got lost on submission.

I've been googling, reading and trying various solutions for two days now.

Any and all help appreciated.


Ruby 2.0

Rails 4.0.2

Ubuntu 12.04

Thin Server in Dev.

Unicorn/nginx in Prod.


ChardinJS and Jquery.pin work flawlessly in development.

In production, however, ChardinJS stops working entirely while Jquery.pin keeps autoscrolling the page up (can't scroll down).

There are no erros in the Chrome Console.


If I set "config.assets.debug = true" in production, then ChardinJS starts working perfectly, but Jquery.pin still keeps acting up.


What to do?


I've attached my layout file and my production config file.


Please help.


Attached Files

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users