module Ransack::Translate
def self.default_interpolation(associated_class)
def self.default_interpolation(associated_class) [ associated_attribute(associated_class), ".attributes.#{@attr_name}".to_sym, @attr_name.humanize ] .flatten end
def self.default_interpolation(associated_class) [ associated_attribute(associated_class), ".attributes.#{@attr_name}".to_sym, @attr_name.humanize ] .flatten end