ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...

For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...

progfu.com

I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...

github.com

As the title says: this jQuery plugin creates bar charts from HTML tables. It comes in some different flavors.

stackoverflow.com

While git branch will show you all branches and highlight the current one with an asterisk, it can be too...

makandra dev

Browsing the git stash is a bit tricky. Here is how to see the changes without applying them:

Cucumber_rails' old-school web-steps have been deprecated for a while, urging developers to write high-level step definitions...

There is no reason to leave trailing whitespace characters in your project's files, so don't add any.

makandra dev

Today I got a better understanding of how git works, in particular what git checkout and git reset do.

The ActionMailer in Rails 2 depends on a buggy version of TMail, which sometimes inserts a blank line into the...

When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...

github.com

Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...

makandra dev
robots.thoughtbot.com

I recently worked on a project with 60+ old feature branches. Most of them had been merged into master and...

makandra dev
sourceforge.net

ReText is a cross-platform WYSIWYG-ish Markdown editor. Toggle editor and preview layout with Ctrl+E.\

In a nutshell: Use git rebase --onto target-branch source-commit target-branch means "branch you want to be based...

Sometimes, you may want to open up a second database connection, to a read slave or another database. When doing...

When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...

Makandra cards will auto-detect the language used for syntax highlighting. This auto-detection sometimes fails for short code snippets...

blog.avisi.nl

On case-insensitive file systems like Mac's HFS+ (per default – you may change this, but it won't work...

makandra dev

Last week saw a security issue with rails 2.3 that required a fix. While an official patch was provided, the...

makandra dev
blogs.skype.com

Promises unified window for all chat conversations, better call quality. Upgrade seems to work fine. If you installed your old...

This script loads a dump into your development database. You can provide the full path to you database dump like...

eagain.net

Quick introduction to git internals for people who are not scared by words like Directed Acyclic Graph. The linked page...

Probably was in the repository once and got deleted in a commit that you pulled.