diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-06 19:13:46 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-08-06 19:13:46 +0200 |
commit | b678eb57e93423ac8e2a0cc0b083ce556c6fb130 (patch) | |
tree | 7cba336a3a15179b3b549c34a4b0d0e2474f62cd /actioncable/lib/action_cable/subscription_adapter/postgresql.rb | |
parent | b91ff557ef6f621d1b921f358fd5b8a5d9e9090e (diff) | |
download | rails-b678eb57e93423ac8e2a0cc0b083ce556c6fb130.tar.gz rails-b678eb57e93423ac8e2a0cc0b083ce556c6fb130.tar.bz2 rails-b678eb57e93423ac8e2a0cc0b083ce556c6fb130.zip |
applies new string literal convention in actioncable/lib
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
Diffstat (limited to 'actioncable/lib/action_cable/subscription_adapter/postgresql.rb')
-rw-r--r-- | actioncable/lib/action_cable/subscription_adapter/postgresql.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/postgresql.rb b/actioncable/lib/action_cable/subscription_adapter/postgresql.rb index 66c7852f6e..2637bfbea3 100644 --- a/actioncable/lib/action_cable/subscription_adapter/postgresql.rb +++ b/actioncable/lib/action_cable/subscription_adapter/postgresql.rb @@ -1,6 +1,6 @@ -gem 'pg', '~> 0.18' -require 'pg' -require 'thread' +gem "pg", "~> 0.18" +require "pg" +require "thread" module ActionCable module SubscriptionAdapter @@ -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 "ActiveRecord database must be Postgres in order to use the Postgres ActionCable storage adapter" end yield pg_conn |