From 198d63f984199bcf5a232eb6482b50fc58d3b4f5 Mon Sep 17 00:00:00 2001 From: Anuj Dutta Date: Mon, 3 Sep 2012 14:44:14 +0100 Subject: Fix indenentation in comment to stop the end of comment from appearing in a
 block.

---
 .../lib/active_record/connection_adapters/postgresql_adapter.rb         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activerecord')

diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index 40cd65cce9..e1eabcde6b 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -543,7 +543,7 @@ module ActiveRecord
 
       # Unescapes bytea output from a database to the binary string it represents.
       # NOTE: This is NOT an inverse of escape_bytea! This is only to be used
-      #       on escaped binary output from database drive.
+      # on escaped binary output from database drive.
       def unescape_bytea(value)
         PGconn.unescape_bytea(value) if value
       end
-- 
cgit v1.2.3


From 2c96638c70e98058bee29c9f8b9d1d181b9dce9e Mon Sep 17 00:00:00 2001
From: Andreas Loupasakis 
Date: Thu, 6 Sep 2012 00:46:52 +0300
Subject: Fix a typo

---
 .../lib/active_record/connection_adapters/abstract/connection_pool.rb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activerecord')

diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
index 7a3d9bfd3e..bf08459b3b 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -494,7 +494,7 @@ module ActiveRecord
     #
     # Normally there is only a single ConnectionHandler instance, accessible via
     # ActiveRecord::Base.connection_handler. Active Record models use this to
-    # determine that connection pool that they should use.
+    # determine the connection pool that they should use.
     class ConnectionHandler
       def initialize
         @owner_to_pool = Hash.new { |h,k| h[k] = {} }
-- 
cgit v1.2.3


From decf4a164d2b00f0be3fc8331df0f0cbe16e7e94 Mon Sep 17 00:00:00 2001
From: Francesco Rodriguez 
Date: Sat, 8 Sep 2012 13:23:52 -0500
Subject: add :nodoc: to AR::Store::IndifferentCoder [ci skip]

---
 activerecord/lib/active_record/store.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activerecord')

diff --git a/activerecord/lib/active_record/store.rb b/activerecord/lib/active_record/store.rb
index b4013ecc1e..c13fd01654 100644
--- a/activerecord/lib/active_record/store.rb
+++ b/activerecord/lib/active_record/store.rb
@@ -81,7 +81,7 @@ module ActiveRecord
         attribute
       end
 
-    class IndifferentCoder
+    class IndifferentCoder # :nodoc:
       def initialize(coder_or_class_name)
         @coder =
           if coder_or_class_name.respond_to?(:load) && coder_or_class_name.respond_to?(:dump)
-- 
cgit v1.2.3