...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
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...
...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...
The rendered font often depends on the local font your system provides, therefore you often find a rule like below...
While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...
On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec...
The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...
With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...