Module: ElasticsearchRecord::Persistence
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/elasticsearch_record/persistence.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#_create_record(*args) ⇒ Object
overwrite to provide a Elasticsearch version: Creates a record with values matching those of the instance attributes and returns its id.
Instance Method Details
#_create_record(*args) ⇒ Object
overwrite to provide a Elasticsearch version: Creates a record with values matching those of the instance attributes and returns its id.
98 99 100 101 102 |
# File 'lib/elasticsearch_record/persistence.rb', line 98 def _create_record(*args) undelegate_id_attribute_with do super end end |