weighttp - a lightweight and simple webserver benchmarking tool

Threaded web server benchmark can exhaust application resources more effectively than ApacheBench or httperf; libev is required for installation.

The top responsive web design problems ... and how to avoid them

Common responsive design failures can make layouts break across screen sizes; practical fixes help prevent issues on future projects.

HubSpot/mixen · GitHub

CoffeeScript mixins for classes that preserve super calls, avoiding the limits of common homegrown mixin patterns.

Carrierwave – Recreate versions

Retroactively rebuilding CarrierWave versions can update changed or newly added derivatives from the base file, but recreate_versions! only accepts symbols and may require save for dynamic filenames.

Allow setting the #id attribute when creating an ActiveRecord

ActiveRecord creation forbids assigning id and type by default, which blocks custom primary keys during new, create, or create!. A module can whitelist id for selected models.

Installation of therubyracer fails with "undefined method `include_path'"

therubyracer installation on Ruby 1.8 can fail when extconf.rb loads an incompatible libv8 version, causing a missing include_path method.

What you need to know about Angular SEO

JavaScript-heavy Angular apps are hard for search engines to index because crawlers often ignore client-side rendering. Server-side rendering or prerendering improves crawlability and SEO.

safe_cookies is now in public beta

safe_cookies makes application cookies secure and HttpOnly, rewrites client cookies once, and flags unregistered or external cookies.

Get Moving With Angular 1.2 Animation and Animate.css

Motion improves web user experience, and Angular 1.2 adds a redesigned animation system that makes interface transitions easy to implement.

International Address Fields in Web Forms :: UXmatters

Address forms often fail across countries because address structures, field order, and required parts vary. Flexible field design reduces user errors and incomplete submissions.

Stubbing out external services with an embedded Sinatra application

Test suites that depend on remote APIs can become brittle and slow; an embedded Sinatra app provides a lightweight stub server for isolated integration tests.

Enable NewRelic monitoring [for Rails] on specific hosts only

NewRelic monitoring can be restricted to selected Rails hosts by checking the current machine name before enabling monitor_mode.

Spreewald 0.6.7 "follow link in email"-step won't match backslashes any longer

Spreewald 0.6.7 parses email links with embedded line breaks correctly, fixing a follow-link step that no longer matched backslashes.

Spreewald 0.6.6 improves the Timezone switch

Time zone mismatches can make Time.now differ from expected local time; upgrading Spreewald to 0.6.6 may correct the timezone switch bug.

Fix "An error occurred while installing debugger-linecache" with Ruby 1.9.3

Ruby 1.9.3 can fail to build debugger-linecache because native extensions cannot find the Ruby source headers. Installing debugger-ruby_core_source or pointing gem install at the Ruby source usually resolves it.

Geordi: Choose your firefox version for cuc

Geordi 0.16+ lets selenium tests use a project-specific Firefox version via .firefox-version, with geordi cucumber prompting installation of the chosen release.

Speeding up ssh session creation

Repeated SSH connections add noticeable overhead, slowing Git pushes, pulls, and frequent server logins. Reducing connection setup time speeds up everyday remote work.

Implementing social media "like" buttons: Everything you never wanted to know

Embedding social widgets can expose cookies, trigger background tracking, and slow pages; privacy-friendly two-step buttons and async loading reduce the impact.

Cucumber: Detect if the current Capybara driver supports Javascript

Capybara.javascript_test? checks whether the current driver supports JavaScript, helping feature tests switch behavior for Selenium, capybara-webkit, Poltergeist, and custom drivers.

RailsPanel chrome extension

Chrome panel for inspecting Rails log data, including parameters, response times, view rendering, and database requests.

Rails 3/4: How to add routes for specs only

Test-only routes can help verify redirects and other edge cases without changing the normal route set. with_routing replaces existing routes, so evaluating a route block keeps both sets available.

Should I Use SOA?

Weighing SOA for system design can clarify when service boundaries improve reuse, integration, and change management versus adding coordination overhead.

PostgreSQL vs. Rails migration: How to change columns from string to integer

Changing a Rails column from string to integer fails on PostgreSQL without an explicit USING cast; non-numeric values can convert unpredictably.