Skip to content

Commit dbf1dba

Browse files
committed
Documentation. Change wording and fix typos
1 parent 5a7e8a6 commit dbf1dba

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ u.email = '[email protected]'
652652
u.save
653653
```
654654

655-
Save forces persistence to the datastore: a unique ID is also assigned,
655+
Save forces persistence to the data store: a unique ID is also assigned,
656656
but it is a string and not an auto-incrementing number.
657657

658658
```ruby

lib/dynamoid/fields.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ module ClassMethods
4545
# end
4646
#
4747
# Its type determines how it is coerced when read in and out of the
48-
# datastore. You can specify +string+, +integer+, +number+, +set+, +array+,
48+
# data store. You can specify +string+, +integer+, +number+, +set+, +array+,
4949
# +map+, +datetime+, +date+, +serialized+, +raw+, +boolean+ and +binary+
5050
# or specify a class that defines a serialization strategy.
5151
#
5252
# By default field type is +string+.
5353
#
5454
# Set can store elements of the same type only (it's a limitation of
55-
# DynamoDB itself). If a set should store elements only some particular
56-
# type +of+ option should be specified:
55+
# DynamoDB itself). If a set should store elements only of some particular
56+
# type then +of+ option should be specified:
5757
#
5858
# field :hobbies, :set, of: :string
5959
#

lib/dynamoid/loadable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def load(attrs)
1010
end
1111
end
1212

13-
# Reload an object from the database -- if you suspect the object has changed in the datastore and you need those
13+
# Reload an object from the database -- if you suspect the object has changed in the data store and you need those
1414
# changes to be reflected immediately, you would call this method. This is a consistent read.
1515
#
1616
# @return [Dynamoid::Document] the document this method was called on

lib/dynamoid/persistence.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
# encoding: utf-8
1414
module Dynamoid
15-
# # Persistence is responsible for dumping objects to and marshalling objects from the datastore. It tries to reserialize
16-
# # values to be of the same type as when they were passed in, based on the fields in the class.
15+
# Persistence is responsible for dumping objects to and marshalling objects from the data store. It tries to reserialize
16+
# values to be of the same type as when they were passed in, based on the fields in the class.
1717
module Persistence
1818
extend ActiveSupport::Concern
1919

0 commit comments

Comments
 (0)