Permalink
Browse files

build fix for #13451. Declare missing attribute.

  • Loading branch information...
1 parent fb78c1e commit 9571dc464b2059b1f9e01b7345b1cd9dba8650b1 @senny senny committed Dec 22, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/test/cases/adapters/postgresql/array_test.rb
View
3 activerecord/test/cases/adapters/postgresql/array_test.rb
@@ -12,7 +12,8 @@ def setup
@connection = ActiveRecord::Base.connection
@connection.transaction do
@connection.create_table('pg_arrays') do |t|
- t.string 'tags', :array => true
+ t.string 'tags', array: true
+ t.integer 'ratings', array: true
end
end
@column = PgArray.columns.find { |c| c.name == 'tags' }

0 comments on commit 9571dc4

Please sign in to comment.