You can convert git commits into patch files. Those can be used to apply to a different repository [1] or...
Using the jQuery adapter breaks the built-in save function of CKEditor. Phenomenon: The page is submitted correctly, but the...
The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...
In order to monitor a Rake task using God your Rake file must write a file with its process ID...
Calling #gsub on a string that was previously marked as #html_safe will lead to unexpected behavior. E. g. backreferences...
Generally for nested forms, a blank form is placed below all other existing object forms. If you would like to...
Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...
Since version 11.10 Opera provides support for linear gradients using -o-linear-gradient. The syntax is pretty similar to Mozilla...
Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a...
You can use the step definition below to say this: Then the "Last name" field should have an error
The technique described in this card has an important caveat: The result of GROUP_CONCAT is truncated to the maximum...
You can use heredoc to avoid endlessly long lines of code that nobody can read. Heredoc strings preserve linebreaks and...
There is a new card about how to do this with the new AWS Command Line Interface
Most likely you run rake and your code is causing an exception which is not the one shown in your...
whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP...
When installing your first formula, Homebrew may complain about not being able to access certain directories. The easiest solution to...
cURL makes a web request and shows you the response body. You can redirect the response body to /dev/null just...
Consider you have a website vhost listening to www.example.com, redirecting all incoming requests that do not talk about the configured...
Simple: Tell the application controller how to handle exceptions, here a RecordNotFound error. Do this with the following line: # application_controller.rb...
Ever wondered how Rails talks to itself in a Cucumber feature? In Rails 3 you can do it like this...
Do you have page caching enabled for the development environment and there are cached pages lying around in public/?
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
If you have any class which requires access to some path methods generated by your routes. Even though you could...
While it might seem trivial to implement an invoice that sums up items and shows net, gross and vat totals...