Skip to content

Commit 1de4625

Browse files
committed
avoid AR 5.2 deprecation warning
1 parent 62e349e commit 1de4625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/activerecord_provider/models/exclusive_set_dc_field.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class ExclusiveSetDCField < ActiveRecord::Base
33

44
def self.sets
55
klass = Struct.new(:name, :spec)
6-
self.distinct.pluck('`set`').compact.map do |spec|
6+
self.distinct.pluck(:set).compact.map do |spec|
77
klass.new("Set #{spec}", spec)
88
end
99
end

0 commit comments

Comments
 (0)