Both apps have search engines that uses the Ransack gem (for the search form) and the Kaminari gem (provides paginated results). The search pages are http://www.bargai... and http://www.dopple... , respectively. The URLs for the source code are https://github.com... and https://github.com... , respectively.
In the production environment (the one that sees the light of day), the "add field" and "remove" buttons on the Doppler Value Investing search page work, but the "add field" and "remove" buttons on the Bargain Stock Funds page do not work. What's even stranger is the fact that the "add field" and "remove" buttons do work in the development environment. Yes, the Bargain Stock Funds search page works in the development environment but not in the production environment.
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file:
$('form').on 'click', '.remove_fields', (event) ->
$('form').on 'click', '.add_fields', (event) ->
time = new Date().getTime()
regexp = new RegExp($(this).data('id'), 'g')
Exactly how can I get an error message to appear? Until I get an error message, I have no way of properly troubleshooting this. I have downloaded and installed FireBug, and I'm in the process of trying to make sense of it.
Jason Hsu <[address removed]>