Yesterday, Rails fixed a security issue (CVE-2014-3514) in Rails 4+. It was possible to use .where...
Nearly all jQuery traversal functions ignore elements that are not HTML tags. To work with other type of nodes (like...
These two addons will change your life: Search as list This will always open search results in the list views...
Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
Restmod creates objects that you can use from within Angular to interact with your RESTful API.
require 'net/http' module Cheat extend self # the magic ingredient def host @host ||= 'http://cheat.errtheblog.com/' end def http @http ||= Net...
edge_rider is Power tools for ActiveRecord relations (scopes). Please note that some of the functions edge_rider provides have...
DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Pretty awesome project. You can select multiple docs...
Due to network or hardware failures, it can happen that one of your cronjobs will not run at the time...
When you have an Angular directive that transcludes content, you might want to do something in case there is no...
Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...
You know each_with_index from arrays: ['hello', 'universe'].each_with_index do |value, index| puts "#{index}: #{value}" end
TL;DR In blueprints, always wrap associations in blocks. # Broken Task.blueprint(:vacation) do project Project.make(:vacation) hours 8 accounting_method...
So you erased a whole day's work? There is hope! The linked article tells how to recover from an...
In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...
So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...
Open a MySQL root shell and use this command: PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0...
Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).
Parses URLs of social networks to extract IDs or screen names. It does not get confused by child routes: you...
Previously the assets group existed to avoid unintended compilation-on-demand in production. As Rails 4 doesn't behave like...
While RSpec 1 and 2 decided that specs inside spec/model are model specs, and those inside spec/features are feature specs...
Run this command to list the authors of the most recent commit of each branch: git for-each-ref --format...
When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...