Method: Ransack::Context#ransackable_association?

Defined in:
lib/ransack/context.rb

#ransackable_association?(str, klass) ⇒ Boolean



133
134
135
# File 'lib/ransack/context.rb', line 133

def ransackable_association?(str, klass)
  klass.ransackable_associations(auth_object).include? str
end