Skip to content

Commit

Permalink
Move past the ActiveModel error
Browse files Browse the repository at this point in the history
New error in Solid Queue 0.8.1 seems related to how we setup our test DB.
  • Loading branch information
adamlogic committed Oct 12, 2024
1 parent fbb7d02 commit 064e97a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion judoscale-solid_queue/judoscale-solid_queue.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.7.0"

spec.add_dependency "judoscale-ruby", Judoscale::VERSION
spec.add_dependency "solid_queue", ">= 0.3", "< 0.5"
spec.add_dependency "solid_queue", "= 0.8.1"
end
3 changes: 3 additions & 0 deletions judoscale-solid_queue/lib/judoscale/solid_queue.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true

# Tests are failing with solid_queue 0.7.1+ unless we require active_model.
# Not sure why since solid_queue depends on activerecord which depends on activemodel.
require "active_model"
require "solid_queue"
require "judoscale-ruby"
require "judoscale/config"
Expand Down

0 comments on commit 064e97a

Please sign in to comment.