The amount helper now retrieves the decimal separator from your I18n dictionary (number.format.separator) instead of hardcoding it to a comma...
A collection of inspirational websites using media queries and responsive web design. Curated by Eivind Uggedal (@uggedal).
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...
Read the linked article together with this reply to get an appreciation for why it's a bad idea to...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
Myth #5 (Each HTTPS Site Needs its Own Public IP Address) is actually still true, but the rest of the...
xip.io is a magic domain name that provides wildcard DNS for any IP address. Say your LAN IP address is...
Some advice for bulk loading many records into InnoDB and finishing before the sun burns out. Use with care.
deploy-to-production now calls Capistrano with bundle exec since we started to bundle Capistrano in all projects.
The following code activates autoloading using ActiveSupport 3.x: require 'active_support' require 'active_support/dependencies' relative_load_paths = %w[app/controllers...
Some progress was made by browsers on implementing CSS filters like blur, greyscale or some other effects. You might already...
If you are using VNC to run Selenium tests, it may be hard to see what's going on since...
Building CSS mobile-first is the way forward, because blah blah blah progressive enhancement blah. Problem is, Internet Explorer prior...
Quick introduction to git internals for people who are not scared by words like Directed Acyclic Graph. The linked page...
The following snippet will convert a string with wildcards to a appropriate regexp, i.e. parse_wildcards("foobar") # => /\Afoo.bar\z/
Probably was in the repository once and got deleted in a commit that you pulled.
I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec...
Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...
If you need a gem for a certain purpose, be sure to check this site. The rankings are determined by...
Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...
You might have notices this behavior when you cut a selection or use the rubber tool. The behavior depends on...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
You will find this useful when creating responsive designs that work well on small screens. The attached Javascript gives a...