Skip to content

Commit

Permalink
Merge pull request #425 from omarsotillo/fix/readme/typo-dynamoid
Browse files Browse the repository at this point in the history
fix: removes DynamoId to Dynamoid typos in README.md
  • Loading branch information
andrykonchin committed Apr 17, 2020
2 parents 0f6c774 + 944baca commit 0827bdf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -232,7 +232,7 @@ easily achieve this with `store_as_native_boolean` field option:

```ruby
class Document
include DynamoId::Document
include Dynamoid::Document

field :active, :boolean, store_as_native_boolean: false
end
Expand All @@ -246,7 +246,7 @@ strings instead then set `store_as_string` to `true`

```ruby
class Document
include DynamoId::Document
include Dynamoid::Document

field :sent_on, :date, store_as_string: true
end
Expand All @@ -261,7 +261,7 @@ as ISO-8601 formatted strings instead then set `store_as_string` to

```ruby
class Document
include DynamoId::Document
include Dynamoid::Document

field :sent_at, :datetime, store_as_string: true
end
Expand Down Expand Up @@ -293,7 +293,7 @@ types.

```ruby
class Document
include DynamoId::Document
include Dynamoid::Document

field :tags, :set, of: :integer
end
Expand All @@ -305,7 +305,7 @@ elements type:

```ruby
class Document
include DynamoId::Document
include Dynamoid::Document

field :values, :set, of: { serialized: { serializer: JSON } }
field :dates, :set, of: { date: { store_as_string: true } }
Expand All @@ -329,7 +329,7 @@ natively, you should specify element type with `of` option:

```ruby
class Document
include DynamoId::Document
include Dynamoid::Document

field :dates, :array, of: :date
end
Expand Down

0 comments on commit 0827bdf

Please sign in to comment.