Skip to content

Commit 26fbd96

Browse files
committed
one last place of missed shared AR4x constants refactoring (thanks travis-ci!)
1 parent 93968e7 commit 26fbd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/postgresql/column.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def initialize(name, default, oid_type = nil, sql_type = nil, null = true,
8484
else # NOTE: AR <= 3.2 : (name, default, sql_type = nil, null = true)
8585
null, sql_type, oid_type = !! sql_type, oid_type, nil
8686
end
87-
if sql_type.to_s[-2, 2] == '[]' && ArJdbc::PostgreSQL::AR40
87+
if sql_type.to_s[-2, 2] == '[]' && AR40
8888
@array = true if respond_to?(:array)
8989
super(name, default, sql_type[0..-3], null)
9090
else

0 commit comments

Comments
 (0)