You've been there: A form cannot be submitted, but you don't see a validation error because the field...
Note that if you plan to freeze your Firefox versions because your Selenium tests break whenever Firefox updates, there is...
Sometimes the Rails helper #distance_of_time_in_words is using too much magic. When you need a time difference...
Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...
When the Ruby parser module of Ruby-GetText comes across a file in one of its search directories (e.g. lib/scripts...
Do you wonder which databases are actually taking up how much space but only have one huge ibdata1 in your...
If you want to use the (badly implemented!) solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port...
This article from the FreeBSD Handbook suggests that editing /etc/rc.conf enables DHCP. Unfortunately, some times this seems not sufficient.
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...
When you need to use diff in either some Ruby code or your Rails app, use the differ gem.
Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...
I think this pattern is really useful not just for upgrading suites from Webrat, but really anywhere you have an...
If you are in the middle of a file and want to scroll, but don't want to move your...
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...