module ActiveRecord::QueryMethods

Public Instance Methods

structurally_compatible_for_or_with_suppressed?(other) click to toggle source
# File lib/status_querier/querier.rb, line 10
def structurally_compatible_for_or_with_suppressed?(other)
  return true if structurally_compatible_for_or_without_suppressed?(other)
  Rails.logger.warn "Combining potentially ambiguous conditions. Consider reviewing the scopes and SQL statements involved." if Rails.env.development? || Rails.env.test?
  true
end