I wanted a way to see if somebody had entered “illegal” data into loaded fixtures. So I wrote this simple rake task. It’s also useful to run as you add more validations to your files.
Continue reading »Rake Task To Validate All Items on All Models«
Blogging for the first time in a long time from my wife’s computer, because I’m installing my brand new Intel SSD hard drive in my macbook.
Oddly enough I ran into a few things during the install process that I think Apple could improve in their interface. (using Snow Leopard)
Apple should recognize a new unformatted disk [...]
Continue reading »Mac Harddisk Upgrade Usability Improvements«
I recently deleted a branch from our (svn) code repository. Did you know that it’s the general recommendation to delete a branch after a merge to ensure that nobody commits to it. (see svnmerge wiki for more on that advice)
Svn checkout, svn info, etc. all fail when you try to access the deleted branch immediately:
$ [...]
Continue reading »How To Recover Deleted Subversion Branch«
I wanted to add a menu item in Finder’s context menu that would open the selected folder in Textmate.
A google search suggested the method described by K. Adam Christensen on his blog: “Opening a directory in TextMate from Finder“. However, from the documentation, I learned that that method is now outdated. Snow Leopard users should [...]
Continue reading »How To add “Open folder in Textmate” to ...«
For a project I’m working on, I had to change some files with personal settings, and the files kept showing up with a git status.
Adding files to .gitignore that are already tracked does not work. (and it’s actually pretty well documented in the documentation). In stead, it’s possible to use this command:
git update-index –assume-unchanged [...]
Continue reading »How to make Git ignore files that already exist in y...«