module Ransack::Translate
def translated_attribute(associated_class)
def translated_attribute(associated_class) key = "#{associated_class.i18n_scope}.attributes.#{ i18n_key(associated_class)}.#{@attr_name}" ["#{key}.one".to_sym, key.to_sym] end
def translated_attribute(associated_class) key = "#{associated_class.i18n_scope}.attributes.#{ i18n_key(associated_class)}.#{@attr_name}" ["#{key}.one".to_sym, key.to_sym] end