Why string sorting sucks in vanilla Ruby Ruby's sort method doesn't work as expected with special characters (like...

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

makandracards.com

The amount helper now retrieves the decimal separator from your I18n dictionary (number.format.separator) instead of hardcoding it to a comma...

makandra dev
mediaqueri.es

A collection of inspirational websites using media queries and responsive web design. Curated by Eivind Uggedal (@uggedal).

ubuntudigest.blogspot.de

The linked article describes how to use a Firefox addon "Flash-Aid" to install a better build of Flash and...

This script loads a dump into your development database. You can provide the full path to you database dump like...

When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...

blog.httpwatch.com

Myth #5 (Each HTTPS Site Needs its Own Public IP Address) is actually still true, but the rest of the...

The following code activates autoloading using ActiveSupport 3.x: require 'active_support' require 'active_support/dependencies' relative_load_paths = %w[app/controllers...

If you are using VNC to run Selenium tests, it may be hard to see what's going on since...

jakearchibald.github.com

Building CSS mobile-first is the way forward, because blah blah blah progressive enhancement blah. Problem is, Internet Explorer prior...

eagain.net

Quick introduction to git internals for people who are not scared by words like Directed Acyclic Graph. The linked page...

I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec...

makandra dev
dzone.com

A collection of snippets to generate random number under certain conditions, as: gaussian with a specified distribution triangular distribution

makandra dev
github.com

Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...

ruby-toolbox.com

If you need a gem for a certain purpose, be sure to check this site. The rankings are determined by...

makandra dev

Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...

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

If your project uses another version than your default Ruby, RubyMine will give you incorrect inspections, for example.\

Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...

When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...

stackoverflow.com

Using beginning_of_day or end_of_day on Date or DateTime objects in Rails 2.x applications will never...

Today, this line made me trouble. Can you spot the mistake? match 'sitemap.xml' => 'feeds#sitemap', :constraints => { :format => 'xml' }, :as => 'sitemap...

solnic.eu

Removing duplication from the code is a seemingly easy task. In many cases it is pretty straight-forward – you look...