Fix warning: Cucumber-rails required outside of env.rb

Bundler 1.1 can trigger a misleading Cucumber warning during test runs; disabling automatic loading for cucumber-rails removes it without moving the gem into a test group.

Todo.txt: Future-proof task tracking in a file you control

Plain-text task lists stay portable across devices and apps, with Dropbox sync, mobile editing, and a CLI for quick task management; nesting is not supported.

validates_acceptance_of is skipped when the attribute is nil

validates_acceptance_of silently skips nil attributes, so a missing checkbox or typo can leave acceptance unchecked; a boolean field with validates_presence_of is safer.

Git: Push a new branch and track it immediately

New branches pushed to origin do not track a remote branch by default, so git pull cannot follow their upstream; git push -u sets the tracking reference immediately.

Define a route that only responds to a specific format

Constrain a Rails route to a single response format such as XML when one URL must serve only that representation.

MySQL shell: Vertical vs horizontal layout

\G in the MySQL shell switches query output to a vertical format, which is easier to read for wide rows or long text fields.

Tabs in Textarea Plugin for jQuery

Use Tab and Shift+Tab in regular textareas to indent or outdent code for in-browser editing of HTML, CSS, JavaScript, or server-side languages.

Ruby: Find the most common string from an array

Find the most frequent string in an array without failing on empty input; the approach uses grouping and returns the first value from the largest group.

KeyboardJS

JavaScript key binding library for handling single keys and key combinations in web apps.

Show MySQL process list without sleeping connections

Filter MySQL connections to hide idle sessions and focus on active or slow queries, with flexible sorting and column selection via information_schema.processlist.

Change how Capybara sees or ignores hidden elements

Capybara’s default hidden-element handling affects DOM queries globally, while :visible scopes visibility checks to one lookup. Driver-specific visibility rules differ between RackTest and Selenium.

Hack-fix Selenium::WebDriver::Element#select is deprecated

Temporary monkey patch for older Capybara and selenium-webdriver versions to suppress repeated deprecation warnings from Selenium::WebDriver::Element#select.

VirtualBox host IP address and hostname

VirtualBox NAT guests can reach the host at 10.0.2.2; vbox.srv is the matching hostname for shared folders and host web server access.

Customize path for Capybara "show me the page" files

Capybara's save_and_open_page files can clutter the Rails root when debugging Cucumber scenarios. Set Capybara.save_and_open_page_path to store them elsewhere.

Connecting the "sequel" gem to MSSQL via ODBC

Connecting Ruby applications to SQL Server through ODBC can unblock legacy setups when native adapters fail. sequel can use an existing ODBC DSN for database access.

Fix [RubyODBC]Cannot allocate SQLHENV when connecting to MSSQL 2005 with Ruby 1.8.7. on Ubuntu 10.10

RubyODBC fails to create an ODBC environment handle when connecting Ruby 1.8.7 on Ubuntu 10.10 to SQL Server 2005; rebuilding the gem with the correct unixODBC path restores connectivity.

Linux: Mount second encrypted HDD automatically without entering a password

Automatically unlocking and mounting a second encrypted HDD at boot avoids repeated password prompts by using a keyfile, cryptsetup, and mount.

MySQL shell: Enable UTF-8

MySQL sessions can default to ASCII, turning accented text into question marks or garbled output. SET NAMES 'utf8'; enables UTF-8 in the console.

Render Single-Line Markdown Text with Redcarpet

Markdown in single-line form fields can create unwanted block elements and broken display. Restricting formatting to inline text keeps input and output consistent.

Ruby, Ruby on Rails, and _why: The disappearance of one of the world’s most beloved computer programmers

A profile of _why and his influence on Ruby and Ruby on Rails, with a personal angle that makes programming culture approachable for nontechnical readers.

Capybara: Test that a string is visible as static text

Capybara text checks can match a <textarea> instead of rendered page text; filtering to visible static content avoids false positives.

Fix error: rails console - no such file to load -- readline

rails console fails with no such file to load -- readline when Ruby was built without readline support. Reinstalling Ruby with the readline development library available restores console input.

Bundler 1.1 has been released, is very fast

Bundler 1.1 speeds up dependency installation by fetching required metadata in seconds instead of waiting on source index updates.

Install the typhoeus gem with native extensions

typhoeus native extension builds fail when libcurl headers are missing; installing the libcurl3-dev package resolves the gem installation error.