Saying git diff only shows unstaged changes relative to the index (or HEAD if the index is empty, alternatively any...
This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...
Gem to get Rails 3's new ActiveRecord query interface (where, order) and the new scope syntax (chaining scope definitions...
Gem to get Ruby 1.9 features in Ruby 1.8.
Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.
Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.
Twitter's Bootstrap CSS blueprint as a jQuery UI theme. Even if you don't want to use Bootstrap as...
Let's say you have commits that change a file (and looking at the commit details show you the changes...
Removing features and merging those changes back can be painful. Here is how it worked for me.\
I have no idea how it's supposed to work (or why the don't have a print CSS), but...
Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...
When selecting records in a date range, take care not to do it like this: start_date = Date.parse('2007-05...
ExpandAnimations is a LibreOffice/OpenOffice.org Impress extension to expand presentation animations before exporting to PDF. This way the exported PDF will...
The tagged_with scope comes with many awesome options to modify your search: User.tagged_with("awesome", "cool") # Users that are...
Ruby bindings for Sundown, a fast and full-featured Markdown parser that lets you define renders for arbitrary output formats...
One of the most common production errors are ActionController::MethodNotAllowed errors. They usually happen when someone reloads a form by...
When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...
Framework to write command-line apps in Ruby. Comes with a nice way of processing parameter options, some utility classes...
Git has a built-in repository viewer for your web browser. a bit similar (but less awesome) than github.
The SQL code generated by Graticule's spherical distance computation is insufficient and can lead to NULL distances in edge...
For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...
How to ignore new files Globally Add the path(s) to your file(s) which you would like to ignore...
"Classic" Excel (XLS) has a magic limit of 65535 rows per worksheet. This was fixed in XLSX but the version...
When you have objects in your database that hold latitude and longitude and you want to find others that are...