Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...

When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...

...downgrade Firefox because your Selenium tests broke after a Firefox upgrade, there is a better way that doesn't involve downgrading. Mozilla has stated that they will no longer provide...

...make a backup of your bookmarks. I didn't have to use it, but better safe than sorry. Download a release for your system from ftp://ftp.mozilla.org/pub/firefox/releases/5.0.1/

Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle

...Use transactions where possible. It is the faster option all around, and will scale better than deletion as your number of records grow. Use deletion for Selenium features (here's...

Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...

When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...

First keep in mind that :dependent => :destroy hooks into before_destroy. So when you use other before_destroy callbacks the...

Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...

api.rubyonrails.org

...especially handy because Rails puts some stuff in the params which does not really belong there IMHO. For instance there is a :format parameter that comes in the way when...

Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...

This note describes how to setup a box running Ubuntu to share its Internet connection with another PC.

Google Calendar integration into Thunderbird suddenly did not work any more for me. Thunderbird kept asking me for my password...

By default Haml will downcase and underscore the class name. So ForumPost will become forum_post. You can control the generated string by overriding the #haml_object_ref method...

...IBUS_ENABLE_SYNC_MODE=1 /home/arne/rubymine/bin/rubymine.sh This seems fix issues on RubyMine 8. The benefit of an extra launcher file is that you can upgrade RubyMine and don't have...

...SD-Card on my Mac, then I will see those nasty resource fork files (beginning with "._") for every file and folder on my car stereo. In most cases those resource...

Note: Consider not doing this. Use form models or vanilla methods instead. The :conditions option for Rails associations cannot take...

So you downloaded a theme for Chrome a while ago and don't remember which one it is?

Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...

if evaluator.name instance.first_name, instance.last_name = evaluator.name.split(' ') end end end Explanation: transient attributes behave like attributes, except that they aren't assigned to the record. By defining the transient...

Imagine you have a list you want to render inline on large screens, but stacked on small screens. high

Ruby's mathn library changes Fixnum division to work with exact Rationals, so 2 / 3 => 0 2 / 3 * 3 => 0...

When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...