diff --git a/core/app/models/spree/address.rb b/core/app/models/spree/address.rb index 8b68c2475a3..6e500adad53 100644 --- a/core/app/models/spree/address.rb +++ b/core/app/models/spree/address.rb @@ -28,10 +28,6 @@ class Address < Spree::Base self.allowed_ransackable_attributes = %w[name] - scope :with_values, ->(attributes) do - where(value_attributes(attributes)) - end - # @return [Address] an address with default attributes def self.build_default(*args, &block) where(country: Spree::Country.default).build(*args, &block)