You can say: $(element).is(':visible') and $(element).is(':hidden') jQuery considers an element to be visible if it...
When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...
Sass comes with many built-in functions to manipulate color. Some of the more interesting functions include: adjust-hue($color...
Choosing the right product to develop is crucial. Great execution is also very important. But if you develop a product...
(Rails has a method ActiveRecord::Relation#merge that can merge ActiveRecord scopes. However, its behavior has never been clear, and...
This snippet makes links that refer to an anchor (like "...
...") scroll softly to it.\ In this example we only do...
If you would like to enrich your website with semantic markup like contact data, places or events you should have...
XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...
Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...
This card shows you how to center a float horizontally in CSS. Also: find out what techniques are available for...
Since May 2011 we are cutting new gems using Bundler, which is less painful than cutting gems using Jeweler. You...
These steps are now part of Spreewald. Here are some useful examples how to use the attached Cucumber Timecop steps...
Internet Explorer 5+ is aware of conditional comments that let you target HTML for selected versions of IE. For example...
The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...
If you want to play music or sounds from a browser, your choice is to use either Flash or the...
You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...
An alert alternative for jQuery that looks good. Apprise is a very simple, fast, attractive, and unobtrusive way to communicate...
Sass now comes with user-defined functions, keyword arguments, list manipulation. Haml and Sass are now two separate gems.
Awesome presentation for the new HTML5 features we will get to play with. This presentation should probably be viewed in...
We can now plug into every facet of the Rails jQuery UJS adapter, binding to custom events, and even customizing...
You can use CSS attribute selectors in your step definitions like this: Then /^the page should have a meta description...
Partials always define a local variable with the same name as themselves. E.g. when you are in _recent_users.html.erb, a local...
If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...