jQuery plugin to register callback functions to keyboard shortkuts. Keyboard events in vanilla Javascripts are super-painful to work with...
The difference between .bind(), .live(), and .delegate() is not always apparent. Having a clear understanding of all the differences, though...
This card describes a Cucumber step that lets you say: When I perform basic authentication as "username/password" and I visit...
Git allows you to do a binary search across commits to hunt down the commit that introduced a bug.
You can use these step definitions: Then /^I should not see an error$/ do (200 .. 399).should include(page.status_code...
Deadlocks only occur if two transactions in separate threads compete for the same rows in the database. They usually (but...
jQuery's selector engine, live()-like event handlers, pixel-perfect layout measuring.
Selenium has been the siren song that continually calls out to us. Unfortunately, in practice we’ve been unable to...
Added utility methods for the Prototype Javascript framework.
This is non-trivial because you need to fake event objects and require different code for different browsers. Luckily, there...
Fixes all Flash elements on a page so that they heed DOM stacking order
For clarity and traceability, your commit messages should include the ID and title of the Pivotal Tracker story you're...
This is a bash script for those of you who need to install all gems for all projects (e.g. to...
Compresses JavaScript.
Thanks to habits engrained by Rails 2’s link_to_remote and remote_form_for, we expect that Rails 3...
Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...
When using form_for you can give the form's target URL either as a string or an array:
The timepicker addon adds a timepicker to jQuery UI Datepicker, thus the datepicker (jQueryUI) is required for using any of...
If you have several submit elements (inputs or buttons with type="submit") that each cause different things to happen (e.g...
Find conditions for scopes can be given either as an array (:conditions => ['state = ?', 'draft']) or a hash (:conditions => { 'state' => 'draft...
In modern Rails versions you can also use ActiveRecord's pluck method. User.active.pluck(:id) => [1, 5, 23, 42]
You should test the callback methods and its correct invocation in two separate tests. Understand the ActiveRecord note before you...
Captify is a plugin for jQuery written by Brian Reavis (@brianreavis) to display simple, pretty image captions that appear on...
WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD...