lib/hydra_attribute/hydra_value.rb
def arel_tables
        @arel_tables ||= Hash.new do |entity_tables, entity_table|
          entity_tables[entity_table] = Hash.new do |backend_types, backend_type|
            backend_types[backend_type] = Arel::Table.new("hydra_#{backend_type}_#{entity_table}", ::ActiveRecord::Base)
          end
        end
      end
# Holds <tt>Arel::Table</tt> objects grouped by entity table and backend type of attribute
#
# @return [Hash]
Holds Arel::Table objects grouped by entity table and backend type of attribute
Holds Arel :: Table objects grouped by entity table and backend type of attribute
def arel_tables
        @arel_tables ||= Hash.new do |entity_tables, entity_table|
          entity_tables[entity_table] = Hash.new do |backend_types, backend_type|
            backend_types[backend_type] = Arel::Table.new("hydra_#{backend_type}_#{entity_table}", ::ActiveRecord::Base)
          end
        end
      end
def arel_tables @arel_tables ||= Hash . new do | entity_tables , entity_table | entity_tables [ entity_table ] = Hash . new do | backend_types , backend_type | backend_types [ backend_type ] = Arel :: Table . new ( "hydra_#{backend_type}_#{entity_table}" , :: ActiveRecord :: Base ) end end end
Holds <tt>Arel::Table</tt> objects grouped by entity table and backend type of attribute
Holds <tt > Arel :: Table< / tt > objects grouped by entity table and backend type of attribute
None
Hash