Skip to content

Commit 820f3ac

Browse files
authored
Merge pull request #407 from brandoncc/brandoncc/fix-active-support-deprecation-version-condition
ActiveSupport::Deprecation singleton was deprecated in 7.1, not 7.2
2 parents f16f9c7 + 299d302 commit 820f3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_resource.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module ActiveResource
4747
autoload :Validations
4848
autoload :Collection
4949

50-
if ActiveSupport::VERSION::STRING >= "7.2"
50+
if ActiveSupport::VERSION::STRING >= "7.1"
5151
def self.deprecator
5252
@deprecator ||= ActiveSupport::Deprecation.new(VERSION::STRING, "ActiveResource")
5353
end

0 commit comments

Comments
 (0)