MariaDB 10 includes numerous innovations developed with and for web-scale players like Google, Fusion-IO and Taobao such as...
Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...
At TaskRabbit, we have gone through a few iterations on how we make our app(s). In the beginning, there...
When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...
Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...
If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...
When you do something like this in your code: def var_value @var ||= some_expensive_calculation end
Modern IRB has time measurement built in. measure # Enable measure :off # Disable Custom Should your version of IRB not offer...
FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing...
Font Combiner offers a way to tweak and adjust any TTF or OTF font (license permitting), by bringing in font...
I recently created a survey asking fellow designers about the problems they faced when creating fully responsive sites. This article...
You're better off using debugger-ruby_core_source: gem install debugger-ruby_core_source If you can't do...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
With Rails 4, Concerns have become the “official” solution to the big-models problem. However, there’s a fair amount...
The asset pipeline (which is actually backed by sprockets) has a nice feature where templates ending in .jst are compiled...
We tend to use database transactions as a magic bullet to get rid of all our concurrency problems. When things...
This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...
Backbone plugin to override getters and setters with logic.
To reset the position of split dividers, drag all the dividers out of the screen. Then turn off splitting and...
You have multiple options: Just don't have a type column. All STI magic will be disabled automatically.
When you need to find out in which kind of spec you are during run-time, it's definitely possible...
Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...
We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...
Caution when using .where to exclude records from a scope like this: # Fragile - avoid User.where("id NOT IN (?)", excluded_ids...