This commit is contained in:
Rafael Mendonça França 2014-05-14 22:27:59 -03:00
parent f7aa2cc55f
commit 1961894d12
3 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@ module ActiveRecord
module ConnectionAdapters
# PostgreSQL-specific extensions to column definitions in a table.
class PostgreSQLColumn < Column #:nodoc:
attr_accessor :array
def initialize(name, default, oid_type, sql_type = nil, null = true)

View File

@ -505,7 +505,6 @@ module ActiveRecord
table, schema = name.scan(/[^".\s]+|"[^"]*"/)[0..1].collect{|m| m.gsub(/(^"|"$)/,'') }.reverse
[schema, table]
end
end
end
end

View File

@ -44,7 +44,6 @@ module ActiveRecord
end
module ConnectionAdapters
# The PostgreSQL adapter works with the native C (https://bitbucket.org/ged/ruby-pg) driver.
#
# Options:
@ -73,7 +72,6 @@ module ActiveRecord
# In addition, default connection parameters of libpq can be set per environment variables.
# See http://www.postgresql.org/docs/9.1/static/libpq-envars.html .
class PostgreSQLAdapter < AbstractAdapter
class ColumnDefinition < ActiveRecord::ConnectionAdapters::ColumnDefinition
attr_accessor :array
end