module Property::Index::ClassMethods

Public Instance Methods

index_table_name(group_name) click to toggle source

Return the table name for the given index group. Produces something like ‘idx_pages_strings’.

# File lib/property/index.rb, line 22
def index_table_name(group_name)
  "idx_#{table_name}_#{group_name}s"
end