Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...
If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash
Every time you call $(...) jQuery will create a new object. Because of this, comparing two jQuery collections with == will never...
Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...
TLDR: In tests you need to clean out the database before each example. Use :transaction where possible. Use :deletion for...
As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...
The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...
The basic idea is pretty simple: an element's height is accessible via the offsetHeight property, its drawn height via...
When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...
Static error pages To add a few basic styles to the default error pages in Rails, just edit the default...
If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...
David Walsh from Mozilla shows how to fire 'DOM changed' events from CSS. No need for JS to observe DOM...
Capybara uses www.example.com as the default hostname when making requests. If your application does something specific on certain hostnames and...
For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...
Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...
Xfce gives you a million options to configure your panels. Together with Xfce's sometimes arcane configuration UI, this can...
The gem author Jonas Nicklas highlights in a Google Groups post that the release is not backwards compatible to 1...
While you can set your own font in your terminal or other tools, it will not change the default "Monospace...
Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...
If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...
If you require your Rails models manually, pay attention to the path you use. Unless you have...
Takes a screenshot when you call it, or when a test fails.
Geordi now supports our solution for running Selenium tests without having Firefox or Chrome windows popping up all over your...
This describes how to migrate an existing cucumber test suite to Spreewald. Add the gem Include spreewald into your cucumber...