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
c3e75eed
Commit
c3e75eed
authored
Dec 27, 2013
by
Orban Botond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX #157
parent
eb633bcf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
annotate.gemspec
annotate.gemspec
+1
-3
annotate_models.rb
lib/annotate/annotate_models.rb
+5
-0
No files found.
annotate.gemspec
View file @
c3e75eed
# This file is auto-generated!
# DO NOT EDIT THIS FILE DIRECTLY!
# Instead, edit the Rakefile and run 'rake gems:gemspec'.# -*- encoding: utf-8 -*-
# -*- encoding: utf-8 -*-
# stub: annotate 2.6.1 ruby lib
Gem
::
Specification
.
new
do
|
s
|
...
...
lib/annotate/annotate_models.rb
View file @
c3e75eed
...
...
@@ -131,6 +131,11 @@ module AnnotateModels
end
end
# Check out if we got an array column
if
col
.
respond_to?
(
:array
)
&&
col
.
array
attrs
<<
"is an Array"
end
# Check out if we got a geometric column
# and print the type and SRID
if
col
.
respond_to?
(
:geometry_type
)
...
...
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