public
Fork of ctran/annotate_models
Description: Annotate ActiveRecord models as a gem
Homepage: http://agilewebdevelopment.com/plugins/annotate_models
Clone URL: git://github.com/dustin/annotate_models.git
Search Repo:
Update README/example to use the schema version-less header.
henrik (author)
Sat Apr 26 08:15:39 -0700 2008
commit  1bf1a0bf73ca3d5293352fc1a850894fce772edd
tree    65446228f5a5ddfe90f61852da8baa822a86da8a
parent  f921592442ad108d3810fd3a7c3079369fe66ba5
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@
0
 
0
 Add a comment summarizing the current schema to the top of each ActiveRecord model source file.
0
 
0
- # Schema as of Sun Feb 26 21:58:32 CST 2006 (schema version 7)
0
+ # == Schema Information
0
   #
0
   # id :integer(11) not null
0
   # quantity :integer(11)
...
46
47
48
49
 
50
51
52
...
46
47
48
 
49
50
51
52
0
@@ -46,7 +46,7 @@ module AnnotateModels
0
     end
0
 
0
     # Add a schema block to a file. If the file already contains
0
- # a schema info block (a comment starting with "Schema as of ..."), remove it first.
0
+ # a schema info block (a comment starting with "== Schema Information"), remove it first.
0
     #
0
     # === Options (opts)
0
     # :position<Symbol>:: where to place the annotated section in fixture or model file,

Comments

    No one has commented yet.