Commit 1bf1a0bf by Henrik N

Update README/example to use the schema version-less header.

parent f9215924
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Add a comment summarizing the current schema to the top of each ActiveRecord model source file. Add a comment summarizing the current schema to the top of each ActiveRecord model source file.
# Schema as of Sun Feb 26 21:58:32 CST 2006 (schema version 7) # == Schema Information
# #
# id :integer(11) not null # id :integer(11) not null
# quantity :integer(11) # quantity :integer(11)
......
...@@ -46,7 +46,7 @@ module AnnotateModels ...@@ -46,7 +46,7 @@ module AnnotateModels
end end
# Add a schema block to a file. If the file already contains # Add a schema block to a file. If the file already contains
# a schema info block (a comment starting with "Schema as of ..."), remove it first. # a schema info block (a comment starting with "== Schema Information"), remove it first.
# #
# === Options (opts) # === Options (opts)
# :position<Symbol>:: where to place the annotated section in fixture or model file, # :position<Symbol>:: where to place the annotated section in fixture or model file,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment