Migrations are versioned in Rails 5 | BigBinary Blog

Rails 5 migration classes are versioned with ActiveRecord::Migration[5.0] so the migration API can evolve without breaking historical files in db/migrate.

List of handy Chrome plugins

Useful browser add-ons for measuring page distances, inspecting Google Analytics events, and formatting JSON responses during debugging.

Bundler returns different error codes depending on what went wrong

Failed bundle calls return different exit codes depending on the problem type, making shell-script error handling more precise.

Measuring sql query time of a piece of code using ActiveSupport::Notifications

Measure database time for a Ruby code block by collecting sql.active_record events and summing their durations with ActiveSupport::Notifications.

How to disable material design in Google Chrome

Chrome's desktop Material Design UI can look poor on some window managers or GTK themes; switching the flag to Non-Material restores the old appearance.

Hack of the day: One-liner to run all changed Cucumber features

Run only modified or new Cucumber feature files from git status, reducing test time by avoiding unchanged specs.

How to use Haml in your helpers

Rendering helper output with content_tag can get clumsy; Haml::Engine lets helper methods build HTML fragments more readably, with access to other helpers and locals.

Isolate Side Effects in Ruby

Side effects are necessary but make Ruby code harder to test and reason about; isolating them reduces coupling and keeps core logic predictable.

Minidusen: Low-tech record filtering with LIKE queries

Lightweight record filtering for Rails replaces FULLTEXT indexing with LIKE queries and keeps search compatible with MySQL and PostgreSQL.

We are no longer maintaining Dusen

Dusen is no longer maintained; users needing query parsing and LIKE queries can migrate to Minidusen, while full-text indexing is better handled with PostgreSQL and pg_search.

How to tidy up your Git mess

Git mistakes are easy to make and hard to recover from when the right command name is unknown. Common recovery paths help undo bad commits, merges, and branch states.

Geordi 1.5.1 released

Geordi 1.5.1 adds smarter command handling for test selection, stage lookup, server ports, and LAN access, plus a firefox --setup version check fix.

Capistrano: exclude custom bundle groups for production deploy

Custom Bundler groups can still be downloaded during Capistrano deploys, slowing production and staging releases. Exclude unnecessary groups with bundle_without to avoid installing unused gems.

ClockPicker: Android-style time picker for Bootstrap

Android-style time selection for Bootstrap projects with a polished clock interface, but the ClockPicker library is no longer maintained.

Using Spring and parallel_tests in your Rails application

Spring keeps bin/rails and bin/rspec fast, while parallel_tests can break shared test runs unless Spring is disabled in parallel contexts.

Git: how to work with submodules

Nested Git projects require submodules to track separate repositories and keep parent links in sync. They simplify cloning shared code while needing manual updates for new commits.

Quill - Your powerful, rich text editor

Open source WYSIWYG editing with strong rendering fidelity and deep customization for rich text apps, positioned as a possible alternative to Redaktor.

When Internet Explorer does not render webfonts on customer machines

IE11 may fail to load webfonts on one customer machine because security settings block remote font downloads, even when the same files work elsewhere.

An intro to Javascript promises

Promises provide a chainable way to handle asynchronous work and separate control flow from callbacks, with built-in support in modern browsers and polyfills for older ones.

MySQL: How to dump single tables instead of a complete database

Need production or staging data for migration tests without a full database export; mysqldump can dump only selected tables when a complete dump is too large.

Angular directive scope binding with = (equals)

Isolate-scope bindings with = evaluate parent expressions and can mirror writable parent properties back and forth.

How to type brackets, braces, pipe, backslash, or at sign on OSX

Mac keyboard shortcuts for brackets, braces, pipe, backslash, and at sign differ from Linux and Windows, especially on OSX and BrowserStack.

Incredibly fast web apps // Speaker Deck

Performance tuning for Ruby on Rails web apps reduces slow page loads and sluggish interactions by improving frontend and backend efficiency.

Angular isolate scopes: Calling a parent scope function with externally defined arguments

Angular isolate scopes can proxy a parent function while supplying fixed and runtime arguments through & binding.