Using text-transform: uppercase - especially on form labels - can cause you serious headaches in Selenium tests. Sometimes the web driver...

fortawesome.github.io

A list of FontAwesome icons in the form of copyable Unicode characters or HTML entities. You might prefer to use...

stackoverflow.com

I had some problems with Git and the file spec/fixtures/ČeskýÁČĎÉĚÍŇÓŘŠŤÚŮÝŽáčďéěíňóřšťúůýž. After pulling the latest commits, it would show that...

Simply give the select helper an option :disabled, passing either a single value or an array. You need to specify...

stackoverflow.com

The ipad onscreen keyboard changes position:fixed style to position:static that misplaces those elements and you'll have problems...

1. Saving files to a directory that is not shared between deploys or servers If you save your uploads to...

You have multiple options: Just don't have a type column. All STI magic will be disabled automatically.

We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...

makandra dev

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...

There is a bug in ActiveRecord 2.3.x that leads to changes in nested forms getting lost. class Project < ActiveRecord...

Spreewald now comes with a step that tests if a form field is visible: Then the "Due date" field should...

validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...

As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...

stackoverflow.com

This works in all relevant browsers: document.activeElement You can use this in your Selenium steps, for example, to assert that...

If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...

If your application has forms to edit string fields, you probably want to strip the entered values (remove whitespace from...

A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...

css-tricks.com

Nice list of icon sets that come in the form of fonts. I recommend Font Awesome.

makandra dev
twitter.github.com

Explanation of the "bootstrap 2" base CSS. Contains information about: Typography Code Tables Forms Buttons Icons

makandra dev

Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...

stackoverflow.com

Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.

In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...