Skip to content

Commit 8a4efb1

Browse files
committed
Merge pull request #158 from orbanbotond/develop
Fix for #157
2 parents 54a99db + 4f5cc51 commit 8a4efb1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

annotate.gemspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# This file is auto-generated!
2-
# DO NOT EDIT THIS FILE DIRECTLY!
3-
# Instead, edit the Rakefile and run 'rake gems:gemspec'.# -*- encoding: utf-8 -*-
1+
# -*- encoding: utf-8 -*-
42
# stub: annotate 2.6.1 ruby lib
53

64
Gem::Specification.new do |s|

lib/annotate/annotate_models.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ def get_schema_info(klass, header, options = {})
131131
end
132132
end
133133

134+
# Check out if we got an array column
135+
if col.respond_to?(:array) && col.array
136+
attrs << "is an Array"
137+
end
138+
134139
# Check out if we got a geometric column
135140
# and print the type and SRID
136141
if col.respond_to?(:geometry_type)

0 commit comments

Comments
 (0)