Remove button on Rails page does not work -


i have 2 rails sites (bargain stock funds , doppler value investing) use ransack gem.

in bargain stock funds search page (http://www.bargainstockfunds.com/funds), should able remove default criteria pressing "remove" buttons. unfortunately, remove button not work.

however, remove button work in development environment. life of me, can't figure out why remove button works in local environment not in production environment.

i'm using similar setup on doppler value investing search page (http://www.dopplervalueinvesting.com/stocks), remove button works in both local environment , production environment.

my questions: 1. there way troubleshoot this? there log files need at? 2. postgresql database problem? thought of this, logging webfaction , looking around didn't uncover anything. (for know, irrelevant issue.) 3. how remove button work in search form?

the source code bargain stock funds site @ https://github.com/jhsu802701/bsf .

the source code doppler value investing web site @ https://github.com/jhsu802701/dvi .

the web developer tools in firefox (tools -> web developer -> debugger) revealed production environment of bargain stock funds site using jquery version 1.9.1 while doppler value investing using version 1.7.2.

it turned out jquery version 1.9.1 being mandated files in public/assets directory in bargain stock funds. doppler value investing file had no public/assets directory. removed public/assets directory bargain stock funds, , buttons work expected.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -