Unfortunately, Capybara does not offer a switch to disable cookies in your test browser. However, you can work around that...

To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...

The following code doesn't work like expected: page.find(css_selector).find(other_css_selector) The second .find will search...

chartjs.org

Chart.js seems to be a good alternative to Google's Chart API and other commercial chart drawing libraries.

coding.smashingmagazine.com

Smashing Magazine lists some handy tricks for print style sheets, all with CSS: Expand External Links For Print

cssmatic.com

CSSmatic lets you play around with four rather complex CSS stylings and gives you CSS or SASS code to use...

browserhacks.com

The linked site lists a wealth of CSS hacks that let you apply styles to just that one browser. You...

Since there are more and more touch-capable devices out there, as a web-developer it becomes more and more...

Ruby 1.8 (supplied by Rails' ActiveSupport) >> BigDecimal.new("0.1").floor.class => BigDecimal Ruby 1.9 (supplied by Ruby 1.9 itself) >> BigDecimal.new("0.1").floor.class...

Google Chrome saves your profile data in ~/.config/google-chrome. To transfer the profile to for example a system you have setup...

makandra dev

Sometimes it seems a favicon does not work because your browser displays an old version or (in case of local...

calc() lets you mix CSS units. Ever wanted to give an element "the container's width minus 20px on each...

Safari & Chrome Use $x() in your console: $x('//span') # selects all span elements Firefox There's an add-on.

Watch out when saying something like 1.year in Rails. The result is not a Fixnum and can cause unexpected errors...

webmonkey.com

Mozilla has announced that, starting with Firefox 22, the popular open source web browser will begin blocking third-party cookies...

If you open a pop-up window [1] in your Selenium tests and you want to close it, you can...

JavaScripts and CSS should be minified for production use. In Rails 3.1+ the asset pipeline will take care of this...

If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...

developer.mozilla.org

Counters are an awesome CSS feature you didn't know about. It is supported in all browsers and IE8+.

makandra dev
github.com

Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...

makandra dev
clicktorelease.com

This is awesome. Only ran smoothly in Chrome. Is a slideshow in Firefox.

This works well in the simplified case, when your link disappears after it was clicked. Let link_to_remote behave...

w3.org

You probably know that you can use CSS selectors to match against elements and their attributes, such as:

You can use the content CSS attribute to set an element's content -- which is especially useful for the :before...