Skip to content

Commit 8e244d2

Browse files
committed
Fix remaining rubocop offences
1 parent 60e39ef commit 8e244d2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/controllers/sessions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def create
1717

1818
# Use cookies for ActionCable authorization
1919
cookies.signed[:user_id] = session[:user_id] = user.id
20-
redirect_to root_url, notice: 'Logged in with Slack'
20+
redirect_to root_url, notice: "Logged in with Slack"
2121
end
2222

2323
def destroy

db/migrate/20160827120217_create_versions.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ class CreateVersions < ActiveRecord::Migration
55
# - `MysqlAdapter` - Used by gems: `mysql`, `activerecord-jdbcmysql-adapter`.
66
# - `Mysql2Adapter` - Used by `mysql2` gem.
77
MYSQL_ADAPTERS = [
8-
'ActiveRecord::ConnectionAdapters::MysqlAdapter',
9-
'ActiveRecord::ConnectionAdapters::Mysql2Adapter'
8+
"ActiveRecord::ConnectionAdapters::MysqlAdapter",
9+
"ActiveRecord::ConnectionAdapters::Mysql2Adapter"
1010
].freeze
1111

1212
# The largest text column available in all supported RDBMS is
@@ -72,7 +72,7 @@ def mysql?
7272
#
7373
def versions_table_options
7474
if mysql?
75-
{ options: 'ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci' }
75+
{ options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci" }
7676
else
7777
{}
7878
end

0 commit comments

Comments
 (0)