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.

Useful methods to process tables in Cucumber step definitions

Cucumber step tables can stay structured instead of becoming raw arrays; Cucumber::Ast::Table offers hashes, headers, row hashes, transposition, and table comparisons.

What The Rails Security Issue Means For Your Startup

Two high-severity Ruby on Rails security bugs and a rubygems.org compromise raise remote code execution risk for startups depending on the framework.

How to express ordinality with numbers in Rails

Turn integers into ordinal strings such as 1st or 2nd with ActiveSupport's ordinalize, including large and negative numbers.

git "fatal: bad config file line" after checking out branch

Long branch names can trigger fatal: bad config file line errors in old Git versions, leaving .git/config corrupted after checkout.

Migrating IMAP accounts from server to server

IMAP mailbox migration between servers is often tedious with many unreliable tools; imapsync offers a practical source-based alternative for copying mail accounts.

Test that a form field is visible with Cucumber/Capybara

Capybara visibility checks can assert whether a form field is shown or hidden by label, using CSS- or JavaScript-based detection.

Setting expiry dates for images, JavaScript and CSS

Static asset caching in Rails can be unreliable across browsers; setting expiry headers in Apache or Nginx improves delivery of images, JavaScript and CSS.

Amazon Elastic Transcoder

Cloud-based video transcoding for developers and businesses, with scalable pay-per-use pricing for converting source files into device-friendly playback formats.

Consul: Querying a power that might be nil

Authorization checks stay safe when Power.current is missing, so models can run in consoles, tests, and batch jobs without crashing.

Consul: Dynamically access and query powers for a given name, model class or record

Consul 0.6.1+ adds dynamic power checks by name, model, or record, making generic authorization helpers easier to write.

Memcache: Your cache node may degenerate over time, check your settings

Memcache nodes can degrade after long runtimes as slab allocation becomes tuned to stale access patterns, increasing evictions and lowering hit rates.

Behave.js

Lightweight text-area enhancement for IDE-like code editing, with paired characters, tabs, and indentation behavior in plain text fields.

Prism.js: simple, fast and lightweight syntax highlighting

Lightweight, extensible syntax highlighting for modern web standards, with fast client-side code coloring tested daily in Dabblet.

Geocoding Strategies - Google Maps API

Choosing client-side or server-side Google geocoding affects quota usage, especially in cloud hosting where shared IPs can exhaust fixed daily limits.

Autoplay HTML5 audio in Chrome for Android, Mobile Safari in iOS

Mobile browsers ignore autoplay on <audio> and <video>; playback usually requires a user gesture, but an initial tap can unlock further sounds on the same element.

Phusion Passenger 4 Technology Preview: Out-Of-Band Work – Phusion Corporate BlogPhusion Corporate Blog

Out-of-band work lets long-running tasks run outside the request/response cycle without blocking clients, reducing request latency and avoiding garbage-collection pauses.

daylerees/colour-schemes · GitHub

Color theme files for RubyMine, Sublime Text 2 and other editors; install by copying intellij-themes/*.xml into ~/.RubyMine40/config/colors and restarting RubyMine.