aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-07 22:58:17 +0200
committerXavier Noria <fxn@hashref.com>2016-08-07 22:58:20 +0200
commitcf082927efcd3519cdd84c58f8c24202efcd0fbd (patch)
treef899d31697573df2376450d7c666d8948bd8ae33
parentb377fc067d01b87779459baa0ec6896b6b7fa701 (diff)
downloadrails-cf082927efcd3519cdd84c58f8c24202efcd0fbd.tar.gz
rails-cf082927efcd3519cdd84c58f8c24202efcd0fbd.tar.bz2
rails-cf082927efcd3519cdd84c58f8c24202efcd0fbd.zip
copy-edits an exception message
Inserted spaces in the name of Rails components. Since I was on it, also used PostgreSQL instead of Postgres because albeit Postgres is an accepted alias, PostgreSQL is the official name and the actual name of the adapter. See https://wiki.postgresql.org/wiki/ProjectName with regard to PostgreSQL vs Postgres.
-rw-r--r--actioncable/lib/action_cable/subscription_adapter/postgresql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/postgresql.rb b/actioncable/lib/action_cable/subscription_adapter/postgresql.rb
index 2637bfbea3..bdab5205ec 100644
--- a/actioncable/lib/action_cable/subscription_adapter/postgresql.rb
+++ b/actioncable/lib/action_cable/subscription_adapter/postgresql.rb
@@ -33,7 +33,7 @@ module ActionCable
pg_conn = ar_conn.raw_connection
unless pg_conn.is_a?(PG::Connection)
- raise "ActiveRecord database must be Postgres in order to use the Postgres ActionCable storage adapter"
+ raise "The Active Record database must be PostgreSQL in order to use the PostgreSQL Action Cable storage adapter"
end
yield pg_conn