Ransack.configure do |c|
# Raise errors if a query contains an unknown predicate or attribute.
# Default is true (do not raise error on unknown conditions).
c.ignore_unknown_conditions = false
end
Source: https://activerecord-hackery.github.io/ransack/going-further/other-notes/#handling-unknown-predicates-or-attributes
Source: https://activerecord-hackery.github.io/ransack/going-further/other-notes/#handling-unknown-predicates-or-attributes