Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
1bf1a0bf
Commit
1bf1a0bf
authored
Apr 26, 2008
by
Henrik N
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README/example to use the schema version-less header.
parent
f9215924
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.txt
README.txt
+1
-1
annotate_models.rb
lib/annotate_models.rb
+1
-1
No files found.
README.txt
View file @
1bf1a0bf
...
...
@@ -2,7 +2,7 @@
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
# quantity :integer(11)
...
...
lib/annotate_models.rb
View file @
1bf1a0bf
...
...
@@ -46,7 +46,7 @@ module AnnotateModels
end
# 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)
# :position<Symbol>:: where to place the annotated section in fixture or model file,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment