module Ransack::Adapters::ActiveRecord::Base
def warn_deprecated(message)
def warn_deprecated(message) caller_location = caller_locations.find { |location| !location.path.start_with?(File.expand_path("../..", __dir__)) } warn "DEPRECATION WARNING: #{message.squish} (called at #{caller_location.path}:#{caller_location.lineno})" end