Module: Globalize::Relation

Defined in:
lib/patches/active_record/relation.rb

Instance Method Summary collapse

Instance Method Details

#where_values_hash(relation_table_name = table_name) ⇒ Object



4
5
6
7
# File 'lib/patches/active_record/relation.rb', line 4

def where_values_hash(relation_table_name = table_name)
  return super unless respond_to?(:translations_table_name)
  super.merge(super(translations_table_name))
end