Make "rake notes" learn about Haml, Sass, CoffeeScript, and other file types

rake notes can miss TODOs in Haml, Sass, and CoffeeScript files unless Rails is taught their comment syntax and extensions.

Ruby: How to grow or shrink an array to a given size

Ruby arrays often need a fixed length when incoming data is too short or too long. A small helper can pad missing slots or truncate excess elements.

Rubymine: Code folding

Code folding gives a quick overview of large files and reduces scrolling when working in Cucumber features or huge Ruby classes.

Using form models (aka decorators) with Devise

Use a form model or decorator with Devise by overriding resource_class in a controller, enabling sign-up-specific fields without changing the underlying user model.

free-for-dev

Cloud services and SaaS with free tiers help developers and open source projects start without upfront cost.

Fontawesome 4 helper classes

Font Awesome 4 helper classes control icon size, width, lists, borders, animation, rotation, flipping, and stacked icons.

Fontawesome 4+ icon naming conventions

Font Awesome 4 uses structured class names to request icon variants by shape, outline, or direction. Not every tag combination exists.

Browse Amazon S3 buckets with Ubuntu Linux

Command-line access to Amazon S3 buckets on Ubuntu is easier than browser frontends; s3cmd handles uploads, downloads, sync, ACLs, and bucket administration.

rspec_candy 0.4.0 released

rspec_candy 0.4.0 adds support for RSpec 3 and Rails 4, while dropping the unmaintained state_machine integration.

Add an alternative image source for broken images

Broken image links can leave empty gaps in HTML pages. Using onerror to swap in a fallback source keeps images visible when the original file fails to load.

ActiveRecord: Order a scope by descending value without writing SQL

Image.order(created_at: :desc) sorts records descending without raw SQL and automatically qualifies column names; multiple order criteria fit in a hash.

PostgreSQL: How to change attributes of a timestamp

Adjusting timestamp parts in PostgreSQL is awkward; TO_CHAR can format changed values, and TO_TIMESTAMP converts them back for further date operations.

Rails has a built-in slug generator

Ruby on Rails includes parameterize for turning text into URL-friendly slugs, normalizing spaces, punctuation, and accented characters.

Responsive Tables in Pure CSS

Small-screen table layouts often break readability; using data-attributes to label cells keeps content usable without heavier scripts.

Custom loggers in Ruby and Rails

Ruby and Rails logging to files or stdout can be timestamped, thread-safe, and formatted consistently; Logger also supports full backtraces for errors.

Dusen (>0.5) now with "exclude from search"

Dusen search now supports excluding words, phrases and fielded terms with -, making queries more precise and reducing irrelevant results.

Angular: Fixing "Referencing DOM nodes in Angular expressions is disallowed"

CoffeeScript can accidentally return DOM nodes from Angular click handlers, triggering the “Referencing DOM nodes in Angular expressions is disallowed” error. An explicit return value avoids leaking a node into Angular.

How to use CSS to rotate text by 90° in IE8 (and modern IEs)

CSS can rotate text in older IE versions without breaking modern browsers by combining transform with -ms-writing-mode and resetting -ms-transform.

Communication between collaborating directives in Angular

Collaborating directives often model one component split across multiple behaviors, requiring clear communication so the parts work together reliably.

Linux: Kill a process matching a partial name

Terminate running programs by matching part of the command line, useful when the process name is not exact or several instances need to be stopped.

How to enable WebGL in Chrome

WebGL may be disabled in Chrome even when the GPU supports it. Hardware acceleration and Chrome flags can restore 3D graphics rendering.

Angular: Solving "$digest already in progress" error

Calling $scope.$apply() or $scope.$digest() from Angular-invoked code can trigger $digest already in progress errors and break scope updates.

Angular Style Guide

Opinionated Angular conventions for teams improve code consistency, readability, and maintainability across components, services, and templates.

Slack integration for deployments via Capistrano

Send deployment notifications from Capistrano to Slack channels using slackistrano and incoming webhooks, with customizable message formatting.