Sivarg

You know what really grinds my gears ?

Yesterday, after upgrading Shoulda to 2.10.0, I had the bad surprise of having undefined methods for my tests. Especially, should_respond_to_xml has purely disappear from the macros.

If, like me, you don't want to change your tests (because they make sense, of course), simple create a file in RAILS_ROOT/test/shoulda_macros and put this gist into it : http://gist.github.com/74287

A must-have if you're using git, and especially through command line, put this in your ~/.gitconfig :

[color]
diff = auto
status = auto
branch = auto
This will put some (very) useful colors in diffs, status, and branches.
This is particulary useful when using git status, git log -p and git diff.

About this blog

A nice techno-tale !