csswizardry.com

Harry Roberts, a youngster from the UK, wrote a comprehensive article telling you how to smell CSS rot early.

Capybara uses www.example.com as the default hostname when making requests. If your application does something specific on certain hostnames and...

For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...

Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...

When you want to copy/move from a shared folder (on Windows guests, for example) and it fails with absurd error...

When you are trying to install/update VirtualBox Guest Additions on your guest machine but the setup is for a different/older...

progfu.com

I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...

github.com

As the title says: this jQuery plugin creates bar charts from HTML tables. It comes in some different flavors.

makandra dev
github.com

The gem author Jonas Nicklas highlights in a Google Groups post that the release is not backwards compatible to 1...

perlstalker.vuser.org

While you can set your own font in your terminal or other tools, it will not change the default "Monospace...

When you have two models in a has_many, has_one or belongs_to association, the :inverse_of option in...

Icon fonts like Font Awesome are infinitely scalable, look great on high-DPI displays and will give your app a...

stevesouders.com

You can use scheme-less URLs (or protocol-relative URLs) to have browsers use the current protocol (HTTP or HTTPS...

Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

Our most recent pattern is EMAIL = /\A[a-z0-9\+\-_\.]+@[a-z\d\-.]+\.[a-z]+\z/i Notes

In theory you can take any scope and extend it with additional joins or conditions. We call this chaining scopes...

Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...

If you require your Rails models manually, pay attention to the path you use. Unless you have...

makandra dev
github.com

Show failing specs instantly. Show passing spec as green dots as usual. Configuration: # spec/spec.opts (.rspec for rspec 2) --require rspec/instafail...

Why is this useful? You can have a background image on the same element, overlaying it with a transparent gradient...

When is this useful? When both parent and child elements have borders, with this technique you don't get two...

In a Rails application, *_spec.rb files get special treatment depending on the file's directory. E.g. when you put a...

github.com

Takes a screenshot when you call it, or when a test fails.