diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-27 14:53:48 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-27 14:53:48 +0200 |
commit | cd5918f78c3e7ee60bcfda193c18666eb43871a7 (patch) | |
tree | 5401fac1e508e5934b9956b0823a3dfaea372fd1 | |
parent | 83cb3560932b05121d9830b4d42a0399d014059b (diff) | |
parent | b9c43e0ee9beda5d1587e168695afa80186f8c22 (diff) | |
download | rails-cd5918f78c3e7ee60bcfda193c18666eb43871a7.tar.gz rails-cd5918f78c3e7ee60bcfda193c18666eb43871a7.tar.bz2 rails-cd5918f78c3e7ee60bcfda193c18666eb43871a7.zip |
Merge pull request #15359 from kuldeepaggarwal/f-remove-unwanted_to_sym
remove unwanted `to_sym` call.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb index 9e53d10bb4..484c44dc8d 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb @@ -5,7 +5,7 @@ module ActiveRecord private def visit_AddColumn(o) - sql_type = type_to_sql(o.type.to_sym, o.limit, o.precision, o.scale) + sql_type = type_to_sql(o.type, o.limit, o.precision, o.scale) sql = "ADD COLUMN #{quote_column_name(o.name)} #{sql_type}" add_column_options!(sql, column_options(o)) end |