Don't you just hate to write Cucumber path helpers to be able to say this?

We've made it easier to link other cards: You can now find a button Cite other card above the...

Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...

You can use text-overflow to truncate a text using CSS but it does not fit fancy requirements.

When using Rails to truncate strings, you may end up with strings that are still too long for their container...

The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...

makandra dev

This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...

Views are normally (for good reason) not rendered in controller specs. If you need it to happen, use:

makandra dev
addyosmani.github.com

Twitter's Bootstrap CSS blueprint as a jQuery UI theme. Even if you don't want to use Bootstrap as...

I have no idea how it's supposed to work (or why the don't have a print CSS), but...

Firefox, Opera and Internet Explorer will repeat elements with position: fixed on every printed page (see attached example).

When you print out a HTML pages, all raster images (like PNGs) will appear aliased. This is because a printer...

github.com

ExpandAnimations is a LibreOffice/OpenOffice.org Impress extension to expand presentation animations before exporting to PDF. This way the exported PDF will...

If you are using Mobiscroll for date pickers on touch devices, here is how to localize the Mobiscroll UI into...

For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...

hacks.mozilla.org

Since Firefox 8 it is possible to define custom context menus (right clicking) with HTML markup.

There are several options, but most of them are impractical. The best way is to use the :ruby filter:

By default, Rails views escape HTML in any strings you insert. If you want to insert HTML verbatim, you need...

ckeditor.com

Using the jQuery adapter breaks the built-in save function of CKEditor. Phenomenon: The page is submitted correctly, but the...

The buffer where text is put into when you double-click on text within X is called X selection.

web.archive.org

Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...

blog.bitcrowd.net

Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a...

commandlinefu.com

The colors in Rails log files are helpful when watching them but, since they are ANSI color codes like ^[[4...

You can use the step definition below to say this: Then the "Last name" field should have an error