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

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.