aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorPaul Nikitochkin <paul.nikitochkin@gmail.com>2013-08-02 10:27:37 +0300
committerPaul Nikitochkin <paul.nikitochkin@gmail.com>2013-08-02 11:04:50 +0300
commit4371c5c4ec8af2534aadcdeefa90b983c55884a6 (patch)
tree2eb55b3996ecab28a80ffc7f54e8f2b0098ef29a /activerecord/lib/active_record
parent5753a8cb2a63284aeb30d5b46e28301478cb779e (diff)
downloadrails-4371c5c4ec8af2534aadcdeefa90b983c55884a6.tar.gz
rails-4371c5c4ec8af2534aadcdeefa90b983c55884a6.tar.bz2
rails-4371c5c4ec8af2534aadcdeefa90b983c55884a6.zip
Removed redundant xml override from pg adapter
Closes: #11706
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 98126249df..342d1b1433 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -373,15 +373,11 @@ module ActiveRecord
self
end
- def xml(options = {})
- column(args[0], :text, options)
- end
-
private
- def create_column_definition(name, type)
- ColumnDefinition.new name, type
- end
+ def create_column_definition(name, type)
+ ColumnDefinition.new name, type
+ end
end
class Table < ActiveRecord::ConnectionAdapters::Table