"Module.const_defined?" behaves differently in Ruby 1.9 and Ruby 1.8

Ruby 1.9 changes Module.const_defined? to search ancestors by default, so code checking constants can return different results than on Ruby 1.8.

Extracting the conditions of a named scope in Rails 2.3

Named scopes in Rails 2.3 can hide reusable query filters; extracting their conditions makes them easier to inspect and reuse in other queries.

Fix error "invalid byte sequence in US-ASCII" in .js.erb files

Ruby 1.9 can raise invalid byte sequence in US-ASCII in .js.erb files when templates contain UTF-8 characters; adding @encoding: UTF-8 sets the template encoding.

How to silence UTF-8 warnings on Rails 2.3 with Ruby 1.9

Ruby 1.9 triggers UTF-8 regexp warnings in Rails 2.3.16+ from ActiveSupport; a monkey patch in config/initializers suppresses them.

Firefox introduces PDF viewer

Firefox now renders PDF files directly in the browser, which can change how embedded documents appear to users and affect applications that rely on PDF handling.

A regular expression that will never match

Need a stable regex result that matches nothing? /(?!)/ returns a valid Regexp object that never matches.

Capturing signatures on a touch device

Touch-device signature capture for web forms with jQuery Signature Pad, plus server-side PNG generation from the stored stroke data.

How to fix: Microphone recording levels are too quiet (or get lowered automatically)

Low microphone input makes calls hard to hear, and Skype can silently reduce recording gain. Adjusting the input level and disabling automatic mixer changes keeps speech audible.

Git: How to check out branches that exist on multiple remotes

Checking out a branch from multiple Git remotes can fail when git checkout cannot guess the source remote. Explicitly setting the upstream remote avoids the ambiguity.

Fix warning "already initialized constant Mocha" with Rails 3.2

Version mismatches between Mocha and Rails 3.2 can trigger an already initialized constant warning; updating Mocha and using a matching Rails version avoids it.

Using CSS counters - CSS | MDN

CSS counters add automatic numbering and generated values through counter-reset, counter-increment, counter(), and counters() for lists, sections, and other repeated content.

rsl/stringex · GitHub

Ruby string extensions for turning text into URL-friendly slugs, with Unicode handling and locale-aware replacements for symbols and HTML entities.

lang/unicode_utils · GitHub

Pure Ruby Unicode handling for case conversion, normalization and text segmentation; useful when applications need multilingual text processing without native extensions.

How to fix: RVM does not offer recent Ruby versions

Outdated RVM installations can miss newer Ruby releases and install an old patchlevel instead. Updating RVM with rvm get stable restores access to recent versions.

How to fix: "Error Bundler::HTTPError during request to dependency API"

bundle install can fail with Bundler::HTTPError while contacting the dependency API; upgrading Bundler to 1.2.4 or newer removes the misleading error.

Edge Rider: Power tools for ActiveRecord scopes

Edge Rider adds utility methods and compatibility patches for working with ActiveRecord scopes across Rails versions, reducing breakage from changing scope APIs.

CSS 3D Clouds

3D CSS cloud effects can become jerky or turn into a slideshow in browsers other than Chrome.

Prevent double clicks on link_to_remote (simple case)

Prevent repeated clicks on an AJAX link by swapping it for a harmless duplicate after the first click, avoiding duplicate requests in simple disappearing-link cases.

CSS: Set content from other attributes

CSS content can pull text from element attributes, making pseudo-elements useful for labels and hover hints without extra markup.

MySQL: For each group, retrieve a comma-separated list of values in a given column

GROUP_CONCAT aggregates values per group into a comma-separated string, but truncation at group_concat_max_len can silently corrupt results unless the limit is raised.

5 reasons why I won't steal your idea

Secretive idea sharing is common when seeking technical feedback or cost estimates, but protecting concepts from a developer is usually unnecessary.

hint.css - A tooltip library in CSS

CSS-only tooltip library for projects with many tooltips, avoiding JavaScript overhead and working in IE9+.

High Performance Networking in Google Chrome

Chrome's network stack can limit page load speed; protocol and connection optimizations reduce latency and improve resource fetching.

How to test your website for different versions of Internet Explorer or Edge

Browser compatibility testing for older Internet Explorer and Edge versions can be done with Microsoft virtual machines or paid cloud access from BrowserStack.