Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...
Awesome color schemes for RubyMine, Sublime Text 2 and other editors. To install the themes into your Rubymine, copy intellij...
If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash
You will get this when you are using the latest version of Rails with a recent version of Rack:
While you are probably using will_paginate to paginate ActiveRecord scopes, it can actually paginate plain Ruby arrays. The resulting...
When doing a git blame, git will blame the person who added or removed white space in a line (e.g...
Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...
Previous versions of Consul exhibited strange behavior when querying a power that returns nil. Consul 0.4.2+ behaves as expected:
Tracekit is a JavaScript library that automatically normalizes and exposes stack traces for unhandled exceptions across the 5 major browsers...
TLDR: In tests you need to clean out the database before each example. Use :transaction where possible. Use :deletion for...
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...
jquery-timing is a very useful jquery plugin that helps to remove lots of nested anonymous functions. It's API...
As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...
This article contains: Making ‘git diff’ wrap long lines Set a global proxy Clone only a specific branch
A nice way to stage absolutely all changes (edits, additions, deletions): git add --all
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...
Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.
navy 0.5.1+ gives empty navigation containers a CSS class .navy-empty which you can hide via .navy-navigation &.navy-empty...
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...
Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...
I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...