module Ransack::Adapters::ActiveRecord::Base
def authorizable_ransackable_attributes
searched, this list can be used as a base for exclusions.
method in each model, but if you're allowing almost everything to be
need to be explicitly allowlisted through the `ransackable_attributes`
Bare list of all potentially searchable attributes. Searchable attributes
def authorizable_ransackable_attributes if Ransack::SUPPORTS_ATTRIBUTE_ALIAS column_names + _ransackers.keys + _ransack_aliases.keys + attribute_aliases.keys else column_names + _ransackers.keys + _ransack_aliases.keys end.uniq end