Skip to content

Commit

Permalink
update gems
Browse files Browse the repository at this point in the history
  • Loading branch information
kortirso committed Apr 19, 2024
1 parent b8c2441 commit c2807d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ GEM
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-next-core (1.0.2)
ruby-next-core (1.0.3)
ruby-progressbar (1.13.0)
sassc (2.4.0)
ffi (~> 1.9)
Expand Down Expand Up @@ -482,7 +482,7 @@ GEM
unicode-display_width (2.5.0)
uniform_notifier (1.16.0)
uri (0.13.0)
view_component (3.12.0)
view_component (3.12.1)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20240417155344_add_finished_to_seasons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def change
add_column :seasons, :status, :integer, null: false, default: 0

Season.find_each do |season|
season.update!(status: season.active? ? Season::ACTIVE : Season::INACTIVE)
season.update!(status: season.attributes['active'] ? Season::ACTIVE : Season::INACTIVE)
end
end
end

0 comments on commit c2807d0

Please sign in to comment.