Date::Performance is a gem that replaces various method in Ruby's Date class with fast C implementations. Unfortunately it...

Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...

Hint: There's another card with this helper for Cucumber features. Sometimes you feel like you need to stub some...

To avoid sending e-mails containing sensitive data unencrypted I strongly suggest you enable a confirmation dialog. Enigmail can show...

The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...

When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...

When you need to create a locale for a language variant (like Austrian for German), you probably don't want...

github.com

When you need to use diff in either some Ruby code or your Rails app, use the differ gem.

en.wikipedia.org

Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...

robots.thoughtbot.com

I think this pattern is really useful not just for upgrading suites from Webrat, but really anywhere you have an...

vimdoc.sourceforge.net

If you are in the middle of a file and want to scroll, but don't want to move your...

addons.mozilla.org

The addon lets you set the format of the dates used for the year and month folders that the Archive...

This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...

The Javascript code below is a rough equivalent to the simple_format helper that ships with Rails: function simpleFormat(str...

Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:

Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...

Ubuntu comes with keyboard layouts like "Germany Eliminate Dead Keys", which are practical for programming. If you need to type...

In Rails 2, you could use link_to_remote...

...:update => 'id' to automatically replace the content of $('#id').

makandra dev
failtale.be

Free Hoptoad/Airbrake alternative which can capture exceptions from any platform. It comes with a Rails notifier and a RESTful API...

Note that this card is very old. You might want to use ActiveType for your auto-coerced virtual attributes instead...

We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...

Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.