23
Apr
2008
Rails Plugin Annotate Models For Spec And Spec Fixtures
Git, RubyonRails, Tools, VCS, annotate_models, patch, rails, rails plugins, ruby, subversion, svn
I have been using “Annotate Models” rails plugin written by Dave Thomas since I found it around one and half year ago. It really helps while writing fixtures. But if you use RSpec you might miss schema info at the top of your rspec fixture file as I do. So, today I modify the plugin file so that it prepends schema info to spec file and fixture file. Below are the links of patch file:
svn patch to add schema info to spec file and spec fixture file
git patch to add schema info to spec file and spec fixture file


Working with Vinsol has been one of the most rewarding and productive collaborations I've ever had in the technology industry. Manik is an intelligent and honest engineer with a great faculty for open and clear communication, and his team include some of the swiftest and keenest developers I've ever had the pleasure to work with. They're great value for money, excellent people who are a joy to know and interact with, and above all they really know their stuff