aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-05-08 18:24:38 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2014-05-08 18:24:38 +0000
commitcb6622f455343bb9eddefabc2386dc7858de2e53 (patch)
treeb33e7014f962ef14d2ec67a54db2d547e8ad38a5
parentbbfb40a914e3c2bc461da90548471e9daaadbd80 (diff)
downloadrails-cb6622f455343bb9eddefabc2386dc7858de2e53.tar.gz
rails-cb6622f455343bb9eddefabc2386dc7858de2e53.tar.bz2
rails-cb6622f455343bb9eddefabc2386dc7858de2e53.zip
copy edits [ci skip]
-rw-r--r--actionpack/lib/action_dispatch/http/headers.rb3
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/column.rb2
2 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/http/headers.rb b/actionpack/lib/action_dispatch/http/headers.rb
index afaace511a..29cd6a0c27 100644
--- a/actionpack/lib/action_dispatch/http/headers.rb
+++ b/actionpack/lib/action_dispatch/http/headers.rb
@@ -1,7 +1,6 @@
module ActionDispatch
module Http
- # Provides access to the request's HTTP headers from the environment
- # for example:
+ # Provides access to the request's HTTP headers from the environment.
#
# env = { "CONTENT_TYPE" => "text/plain" }
# headers = ActionDispatch::Http::Headers.new(env)
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/column.rb b/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
index 3558a641e2..1d22b56964 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/column.rb
@@ -98,7 +98,7 @@ module ActiveRecord
end
end
- # Casts a Ruby value to something appropriate for writing to Postgresql.
+ # Casts a Ruby value to something appropriate for writing to PostgreSQL.
# see ActiveRecord::ConnectionAdapters::Class#type_cast_for_write
# see ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::OID::Type
def type_cast_for_write(value)