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.



71
72
73
# File 'lib/elasticsearch_record/core.rb', line 71

def index_name
  table_name
end