We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87c8936 + b91cf5d commit 8f0fd2cCopy full SHA for 8f0fd2c
Gemfile
@@ -3,7 +3,7 @@ gemspec
3
4
gem 'rake'
5
6
-rails = ENV['RAILS'] || '7-1-stable'
+rails = ENV['RAILS'] || '7-2-stable'
7
8
rails_version = case rails
9
when /\// # A path
lib/polyamorous/polyamorous.rb
@@ -15,7 +15,7 @@ module Polyamorous
15
require 'polyamorous/activerecord/join_dependency'
16
require 'polyamorous/activerecord/reflection'
17
18
- if ::ActiveRecord.version > ::Gem::Version.new("7.1")
+ if ::ActiveRecord.version >= ::Gem::Version.new("7.2")
19
require "polyamorous/activerecord/join_association_7_2"
20
end
21
0 commit comments