Rails Plugin Annotate Models For Spec And Spec Fixtures

Published on Author Akhil Bansal1 Comment

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

One Response to Rails Plugin Annotate Models For Spec And Spec Fixtures

Leave a Reply

Your email address will not be published. Required fields are marked *