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
127b0c51
Commit
127b0c51
authored
Nov 19, 2008
by
martinstannard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove version string because it makes us have to commit our files again even if…
remove version string because it makes us have to commit our files again even if nothing has changed
parent
c1460b6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
annotate_models.rb
lib/annotate_models.rb
+0
-3
No files found.
lib/annotate_models.rb
View file @
127b0c51
...
@@ -151,9 +151,6 @@ module AnnotateModels
...
@@ -151,9 +151,6 @@ module AnnotateModels
def
do_annotations
(
options
=
{})
def
do_annotations
(
options
=
{})
header
=
PREFIX
.
dup
header
=
PREFIX
.
dup
version
=
ActiveRecord
::
Migrator
.
current_version
rescue
0
version
=
ActiveRecord
::
Migrator
.
current_version
rescue
0
if
version
>
0
header
<<
"
\n
# Schema version:
#{
version
}
"
end
annotated
=
[]
annotated
=
[]
get_model_files
.
each
do
|
file
|
get_model_files
.
each
do
|
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