Module: Property::Index::ClassMethods

Defined in:
lib/property/index.rb

Instance Method Summary collapse

Instance Method Details

#index_table_name(group_name) ⇒ Object

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



22
23
24
# File 'lib/property/index.rb', line 22

def index_table_name(group_name)
  "idx_#{table_name}_#{group_name}s"
end