Forum: Ruby on Rails How do I change the jQuery version of a page?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jason Hsu, Android developer (Guest)
on 2013-08-13 18:15
(Received via mailing list)
I have two Rails sites (Bargain Stock Funds and Doppler Value Investing)
that use the Ransack gem.

In the Bargain Stock Funds search page (, the "remove" and "add
buttons do not work in the production environment but do work in the
development environment.  For the life of me, I can't figure out why the
remove button works in the local environment but not in the production

I'm using a similar setup on my Doppler Value Investing search page (, but the "remove" and "add
conditions" buttons work in both the local environment and the

Bargain Stock Funds has jQuery version 1.9.1 in the production
but version 1.7.2 in the development environment.  Doppler Value
also has version 1.7.2.  Thus, I've come to the conclusion that I need
change the production environment of Bargain Stock Funds to jQuery

My questions:
1.  How did my production environment end up with jQuery 1.9.1 instead
jQuery 1.7.2?
2.  How do I switch my production environment from jQuery 1.9.1 to

The source code for my Bargain Stock Funds site is at .

The source code for my Doppler Value Investing web site is at .
Jason Hsu, Android developer (Guest)
on 2013-08-13 19:10
(Received via mailing list)
It turned out that jQuery version 1.9.1 was being mandated by files in
public/assets directory in Bargain Stock Funds. The Doppler Value
file had no public/assets directory. So I removed the public/assets
directory from Bargain Stock Funds, and the buttons work as expected.
This topic is locked and can not be replied to.