diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-06 22:14:25 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-01-06 22:14:25 -0300 |
commit | 831aad2ee992771df377188abbca015dfa24183b (patch) | |
tree | 6419fcb02754641b113ec867ddaa9393cae1c3d5 /activerecord | |
parent | 80343f6f9017d2e5f11c4fd5776e3f501a126bb1 (diff) | |
download | rails-831aad2ee992771df377188abbca015dfa24183b.tar.gz rails-831aad2ee992771df377188abbca015dfa24183b.tar.bz2 rails-831aad2ee992771df377188abbca015dfa24183b.zip |
connection_parameters is an Array and will never have
prepared_statements as value
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
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 |