Module: ElasticsearchRecord::Core::PrependClassMethods

Included in:
ClassMethods
Defined in:
lib/elasticsearch_record/core.rb

Instance Method Summary collapse

Instance Method Details

#index_nameObject

returns the table_name. Has to be prepended to provide automated compatibility to other gems.



88
89
90
# File 'lib/elasticsearch_record/core.rb', line 88

def index_name
  table_name
end