search for: annotatemodels

Displaying 2 results from an estimated 2 matches for "annotatemodels".

Did you mean: annotate_models
2007 May 27
1
annotate_models plugin to annotate RSpec specs and fixture
...require "config/environment" MODEL_DIR = File.join(RAILS_ROOT, "app/models") -FIXTURE_DIR = File.join(RAILS_ROOT, "test/fixtures") +SPEC_DIR = File.join(RAILS_ROOT, "spec/models") +FIXTURE_DIR = File.join(RAILS_ROOT, "spec/fixtures") module AnnotateModels @@ -75,6 +76,9 @@ model_file_name = File.join(MODEL_DIR, klass.name.underscore + ".rb") annotate_one_file(model_file_name, info) + spec_file_name = File.join(SPEC_DIR, klass.name.underscore + "_spec.rb") + annotate_one_file(spec_file_name, info) + fixture_...
2006 Apr 27
5
ColumnComments Plugin
Here?s a small plugin that may be useful for documenting your database. Based on Dave Thomas?s AnnotateModels plugin, this plugin goes one step further and allows you to store comments on each column in the database (MySQL only). Full write-up at: http://blog.inquirylabs.com/2006/04/27/ columncomments-rails-plugin Subversion at: svn://syncid.textdriven.com/svn/opensource/ column_comments/trunk Du...