tl;dr: Do not use merge! for session hashes. Use update instead. Outline Let's assume you're modifying the...

JavaScript has no built-in functions to compare two objects or arrays for equality of their contained values.

Watch out when saying something like 1.year in Rails. The result is not a Fixnum and can cause unexpected errors...

github.com

MongoMapper is a MongoDB adapter for Ruby. We've forked it so it works for Rails 2.3.x applications running...

If you open a pop-up window [1] in your Selenium tests and you want to close it, you can...

perl.plover.com

So you have a method returning a regular expression but one case that should not yield a matching Regexp object...

If others on a call (Skype, SIP, ...) can not hear you loud enough, your volume levels are probably too low...

So you're using multiple remotes that offer the same branch? $ git branch -a | grep my-branch remotes/something/my-branch remotes/origin/my-branch

You either have an old version of Mocha and an edge version of Rails 3.2, or you have a new...

makandra dev
rails-sqli.org

This page lists many query methods and options in ActiveRecord which do not sanitize raw SQL arguments and are not...

developer.mozilla.org

Counters are an awesome CSS feature you didn't know about. It is supported in all browsers and IE8+.

makandra dev
github.com

Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...

RVM needs to be updated regularly to know of Ruby versions released since installation (or last update).

The Edge Rider gem gives your relations a method #traverse_association which returns a new relation by "pivoting" around a...

TLDR: Ruby class variables (@@foo) are dangerous in many ways. You should avoid them at all cost. See bottom of...

When creating an ActiveRecord with .new, .create or create!, you cannot set the ID attribute (note: When using Machinist's...

This works well in the simplified case, when your link disappears after it was clicked. Let link_to_remote behave...

w3.org

You probably know that you can use CSS selectors to match against elements and their attributes, such as:

You can use the content CSS attribute to set an element's content -- which is especially useful for the :before...

stritar.net

Since I'm a software architect and a web developer, I get often approached by people with their new ideas...

kushagragour.in

A tooltip library that does not use Javascript. Works in IE9+. This library (or the technique used by it) could...

igvita.com

About Chrome's network stack and optimizations to load web pages faster.

Ruby has two different ways to match the start and the end of a text: ^ (Start of line) and $ (End...

Do not investigate in the 2342 tools that exist for migrating IMAP accounts from one server to another. They all...