aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-06 22:14:25 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-01-06 22:14:25 -0300
commit831aad2ee992771df377188abbca015dfa24183b (patch)
tree6419fcb02754641b113ec867ddaa9393cae1c3d5
parent80343f6f9017d2e5f11c4fd5776e3f501a126bb1 (diff)
downloadrails-831aad2ee992771df377188abbca015dfa24183b.tar.gz
rails-831aad2ee992771df377188abbca015dfa24183b.tar.bz2
rails-831aad2ee992771df377188abbca015dfa24183b.zip
connection_parameters is an Array and will never have
prepared_statements as value
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 5a53135901..8806693397 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -315,8 +315,6 @@ module ActiveRecord
@visitor = BindSubstitution.new self
end
- connection_parameters.delete :prepared_statements
-
@connection_parameters, @config = connection_parameters, config
# @local_tz is initialized as nil to avoid warnings when connect tries to use it