In order to have more human readable git branches, do git pull --rebase To always pull like this, write these...
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...
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...
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...
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...
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...
We ran into trouble when adding additional compute units to our railscomplete Hosting environment lately. VM-instances on the new...
Spreewald's patiently repeats the given block again and again until it either passes or times out.
To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...
Rails understands a :limit options when you create columns in a migration. Its meaning depends on the column type, and...
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...
MongoMapper is a MongoDB adapter for Ruby. We've forked it so it works for Rails 2.3.x applications running...
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...