lib/wice/table_column_matrix.rb
def init_columns_of_table(model) #:nodoc:
      self[model] = HashWithIndifferentAccess.new(model.columns.index_by(&:name))
      @by_table_names[model.table_name] = self[model]
      self[model].each_value { |c| c.model = model }
    end
# a structure to hold generates Arels for all column filters
a structure to hold generates Arels for all column filters
a structure to hold generates Arels for all column filters
def init_columns_of_table(model) 
      self[model] = HashWithIndifferentAccess.new(model.columns.index_by(&:name))
      @by_table_names[model.table_name] = self[model]
      self[model].each_value { |c| c.model = model }
    end
def init_columns_of_table ( model ) self [ model ] = HashWithIndifferentAccess . new ( model . columns . index_by ( & :name ) ) @by_table_names [ model . table_name ] = self [ model ] self [ model ] . each_value { | c | c . model = model } end
a structure to hold generates Arels for all column filters
a structure to hold generates Arels for all column filters
#:nodoc:
model