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
8a4efb1a
Commit
8a4efb1a
authored
Feb 25, 2014
by
Cuong Tran
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #158 from orbanbotond/develop
Fix for #157
parents
54a99db6
4f5cc513
Show 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 @
8a4efb1a
# 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 @
8a4efb1a
...
...
@@ -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