module Ransack::Adapters::ActiveRecord::Base
def ransackable_associations(auth_object = nil)
For overriding with a whitelist array of strings.
of all associations as an array of strings.
Ransackable_associations, by default, returns the names
def ransackable_associations(auth_object = nil) @ransackable_associations ||= reflect_on_all_associations.map { |a| a.name.to_s } end