Monthly Archives: September 2011

filter.js – Client side search filtering using JSON and jQuery

Speed for search result filtering is critical. Its fine for site users to wait for some time (maybe a few seconds) to load the search results but after that filtering better be fast otherwise people lose interest. To give a … Continue reading

Posted in Javascript | Tagged , , | 320 Comments

Payment Gateway testing using webmock

Testing the payment gateway involves lots of scenarios like what should happen if exception is raised while doing payment. To test this scenario we have to call payment gateway API and take response. But herein lies a problem. The test … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , | Leave a comment