When you have files in your .gitignore they won't be considered for changes, but still you might want to...

makandracards.com

So you're hunting down a regression (or just a bug) and want to use git bisect to find out...

Exception notifications contain a lot of information: Backtraces, HTTP headers, etc. exception_notification tries its best to format this wall...

smartinez87.github.io

The new exception_notification has awesome options like :ignore_crawlers => true and :ignore_if => lambda {...

...}. These options should be helpful...

We tend to use database transactions as a magic bullet to get rid of all our concurrency problems. When things...

Consul 0.9 comes with many new features to optimize powers that only check access to a given record. e.g. Power.current.post...

makandra dev

Using CSS sprites for background images is a technique for optimizing page load time by combining smaller images into a...

theprogrammingbutler.com

Similar to closing an opened browser window, spreewald now supports the I switch to the new browser tab step.

Next time you have to do more than trivial CSS changes on a project, you probably want to have live...

This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...

github.com

Backbone plugin to override getters and setters with logic.

makandracards.com

In order to have more human readable git branches, do git pull --rebase To always pull like this, write these...

makandra dev
rakeroutes.com

Put the attached files into your home directory and enjoy. .irbrc defines interesting_methods, which is essentially all methods without...

Do it like this: attribute :active, Virtus::Attribute::Boolean Long story In Virtus you define attribute with their type...

github.com

Essential backports that enable many of the nice features of Ruby 1.8.7 up to 2.0.0 for earlier versions.

Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...

imperavi.com

New WYSIWYG editor that claims to be lighter and prettier than TinyMCE and CKEditor. Has some Rails integration, too.

In order to clone a git repository including all branches and tags you need to use two parameters when cloning...

Sometimes you want git to ignore certain files that appear on your machine. You can do this in 3 ways...

makandra dev

git shortlog -s -n [commit-range] -n, --numbered Sort output according to the number of commits per author

Option 1: Creating a self-signed certificate with the openssl binary As igalic commented on this gist. openssl req -new...

Authentication is hard: there are many edge cases, and most users (including yourself) usually only go the "happy path" once...

We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...

When you want to do a git diff but do not care about the full diff and just want to...