When you just went through a long debug-fest and infested your code with dozens of debug messages, it can...

robots.thoughtbot.com

Selenium has been the siren song that continually calls out to us. Unfortunately, in practice we’ve been unable to...

You should never transmit sensitive data without encryption. Being logged in somewhere constitutes transmitting sensitive data. For Pivotal Tracker:

github.com

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...

code.google.com

This document describes an agreement between web servers and search engine crawlers that allows for dynamically created content to be...

alfajango.com

There is a problem with AJAX response handling for Rails 3 remote links and forms in Internet Explorer. This problem...

For clarity and traceability, your commit messages should include the ID and title of the Pivotal Tracker story you're...

makandra dev
javascriptcompressor.com

Compresses JavaScript.

alfajango.com

Thanks to habits engrained by Rails 2’s link_to_remote and remote_form_for, we expect that Rails 3...

This note describes how to setup a box running Ubuntu to share its Internet connection with another PC.

blog.jcoglan.com

Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...

If a controller action responds to other formats than HTML (XML, PDF, Excel, JSON, ...), you can reach that code in...

In rare cases you might need something like form_for (for using form builder methods on the resulting block element...

trentrichardson.com

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...

When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...

alfajango.com

The CSS Emoticons plugin is a simple jQuery plugin (and stylesheet) that allows you to turn any text emoticons on...

Be careful! The following solution will delete files on a volume. If you don't know exactly what you're...

thirdroute.com

Captify is a plugin for jQuery written by Brian Reavis (@brianreavis) to display simple, pretty image captions that appear on...

keith-wood.name

A jQuery plugin that sets a div or span to show a countdown to a given time

wmd-editor.com

WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD...

Expiration of Rails sessions By default Rails sessions expire when the user closes her browser window. To change this edit...

github.com

By default, Cucumber uses mocha. This note shows to use RSpec stubs and mocks instead. Rspec 1 / Rails 2