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...

github.com

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

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

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

Create a directory mkdir ~/.aws Initialise git repository cd ~/.aws && git init Create a git branch with a name you...

You probably haven't configured version control for your project. Go to Project Settings / Version Control and set the director...

robots.thoughtbot.com

Guide how to make fixes in other people's GitHub repositories. It's basically "Open Source Development 101".

Given you use Capistrano together with bundler to automatically install your gems when deploying. I recently had the problem that...

github.com

MongoMapper is a MongoDB adapter for Ruby. We've forked it so it works for Rails 2.3.x applications running...

gist.github.com

Rails 2.3.16+ on Ruby 1.9 causes warnings like this: .../gems/activesupport-2.3.17/lib/active_support/core_ext/string/output_safety.rb:22: warning: regexp match /.../n against to UTF-8 string...

If you need to capture signatures on an IPad or similar device, you can use Thomas J Bradley's excellent...

So you're using multiple remotes that offer the same branch? $ git branch -a | grep my-branch remotes/something/my-branch remotes/origin/my-branch

makandra dev
github.com

Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...

makandra dev
github.com

UnicodeUtils implements Unicode algorithms for case conversion, normalization, text segmentation and more in pure Ruby code.

If git gives you an error message such as "fatal: bad config file line 123 in .git/config" after you tried...

Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...

github.com

Awesome color schemes for RubyMine, Sublime Text 2 and other editors. To install the themes into your Rubymine, copy intellij...

kernel.org

If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash

When doing a git blame, git will blame the person who added or removed white space in a line (e.g...