There are some frontends available, but they all suck, are no longer maintained or are hard to install.
You know that ActiveRecord caches associations so they are not loaded twice for the same object. You also know that...
Instead of this: Image.order('images.created_at DESC') You can write this: Image.order(created_at: :desc) Not only do you not...
It's generally not trivial to change a datetime's seconds, minutes, etc in SQL. Here is how it works...
Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...
Dusen (our search gem) is now capable of excluding words, phrases and qualified fields from search. E.g. search for
If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...
This is useful to kill processes like ruby my-script.rb: pkill -f my-script.rb With great power comes great responsibility.
Check your GPU state on chrome://gpu. If it reads "WebGL: Hardware accelerated" in the first list, you're set...
Opinionated Angular style guide for teams by @john_papa Not everything in this guide works perfectly for us, but is...
You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...
Often times you want to give a bunch of elements the same style, except for the last. For example borders...
Webfonts are not always available when your JavaScript runs on first page load. Since fonts may affect element sizes, you...
When a CSS3 animation makes the animated element flicker, it may well be due to pixel fragments being handled differently...
If you want to sort values from an enumerable into two arrays based on whether they match a certain criteria...
To achieve this goal you have to setup the session store like the following example: MyApp::Application.config.session_store( :cookie_store...
Good article about window functions. Also note how they use a postgres feature called common table expressions.
jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
The linked article explains how to get a database-wide lock without creating table rows: This article explains how I...
The easiest way to detect touch-capable browsers is to check for the presence of touch events. It is no...
The Javascript in operator does what Hash#has_key? does in Ruby: Return whether an object has a property.