Skip to content

Commit 738c63e

Browse files
halilimkarmi
authored andcommitted
[STORE] Fixed typos in the README
Closes #186
1 parent 2ed221c commit 738c63e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

elasticsearch-persistence/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ repository.delete(note)
9898
=> {"found"=>true, "_index"=>"repository", "_type"=>"note", "_id"=>"1", "_version"=>2}
9999
```
100100

101-
The repository module provides a number of features and facilities to configure and customize the behaviour:
101+
The repository module provides a number of features and facilities to configure and customize the behavior:
102102

103103
* Configuring the Elasticsearch [client](https://github.com/elasticsearch/elasticsearch-ruby#usage) being used
104104
* Setting the index name, document type, and object class for deserialization
@@ -126,7 +126,7 @@ repository = Elasticsearch::Persistence::Repository.new do
126126
# Set a custom document type
127127
type :my_note
128128

129-
# Specify the class to inicialize when deserializing documents
129+
# Specify the class to initialize when deserializing documents
130130
klass Note
131131

132132
# Configure the settings and mappings for the Elasticsearch index
@@ -494,7 +494,7 @@ class Article
494494

495495
# Execute code after saving the model.
496496
#
497-
after_save { puts "Successfuly saved: #{self}" }
497+
after_save { puts "Successfully saved: #{self}" }
498498
end
499499
```
500500

@@ -573,7 +573,7 @@ Any callbacks defined in the model will be triggered during the persistence oper
573573

574574
```ruby
575575
article.save
576-
# Successfuly saved: #<Article {...}>
576+
# Successfully saved: #<Article {...}>
577577
```
578578

579579
The model also supports familiar `find_in_batches` and `find_each` methods to efficiently

0 commit comments

Comments
 (0)