aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-02 05:41:58 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-08-02 05:41:58 -0700
commite73f07568998e220d4e5501456b9f4dc6ac417f1 (patch)
tree0c794749dab5dda8712328ccc02ef22287ea4182 /activerecord/lib
parentdb7e912138cd13e8727c22d24df077627b8612e4 (diff)
parent4371c5c4ec8af2534aadcdeefa90b983c55884a6 (diff)
downloadrails-e73f07568998e220d4e5501456b9f4dc6ac417f1.tar.gz
rails-e73f07568998e220d4e5501456b9f4dc6ac417f1.tar.bz2
rails-e73f07568998e220d4e5501456b9f4dc6ac417f1.zip
Merge pull request #11714 from jetthoughts/11706_remove_bad_override_of_xml
Removed redundant xml override from pg adapter
Diffstat (limited to 'activerecord/lib')
-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