Skip to content

Commit

Permalink
lint(rubocop): Fix offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Jul 22, 2024
1 parent 15d143b commit 47b2e24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ gem "nokogiri", "1.13.4"
gem "omniauth-rails_csrf_protection", "~> 1.0"
gem "puma", ">= 5.5.1"

gem "activerecord-session_store"
gem "letter_opener_web", "~> 1.3"
gem "rack-attack", "~> 6.6"
gem "ruby-progressbar"
gem "sidekiq", "~> 6.0"
gem "sidekiq_alive", "~> 2.2"
gem "sidekiq-scheduler", "~> 5.0"
gem "sys-filesystem"
gem "activerecord-session_store"

group :development do
gem "listen", "~> 3.1"
Expand Down
4 changes: 2 additions & 2 deletions db/migrate/20240722153930_add_sessions_table.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
class AddSessionsTable < ActiveRecord::Migration[6.1]
def change
create_table :sessions do |t|
t.string :session_id, :null => false
t.string :session_id, null: false
t.text :data
t.timestamps
end

add_index :sessions, :session_id, :unique => true
add_index :sessions, :session_id, unique: true
add_index :sessions, :updated_at
end
end

0 comments on commit 47b2e24

Please sign in to comment.