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

makandra dev
github.com

Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...

makandra dev
github.com

Tracekit is a JavaScript library that automatically normalizes and exposes stack traces for unhandled exceptions across the 5 major browsers...

When you have a Pull Request on GitHub that includes commits from another Pull Request, you will still see them...

When you are using git rebase and are currently editing a commit (due to a conflict, for example), you may...

durdn.com

This article contains: Making ‘git diff’ wrap long lines Set a global proxy Clone only a specific branch

makandra dev

A nice way to stage absolutely all changes (edits, additions, deletions): git add --all

github.com

Great solution in a GitHub issue.

Git commits should be very deliberate, and only contain changes that you really want to be in there. In order...

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