Skip to content

Commit

Permalink
Merge pull request #4305 from kay-kim/docs-5.1.0-typo-fix
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
estolfo authored Aug 5, 2016
2 parents 9421ad5 + 6629573 commit 90aff0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/mongoid-documents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ For cases when you do not want to have ``BSON::ObjectId`` ids, you can override
Dynamic Fields
--------------

By default Mongoid doesn't supports dynamic fields. You can tell mongoid that you want
By default Mongoid doesn't support dynamic fields. You can tell mongoid that you want
to add dynamic fields by including ``Mongoid::Attributes::Dynamic`` in model.
``Mongoid::Attributes::Dynamic`` will allow attributes to get set and persisted on the
document even if a field was not defined for them. There is a slight 'gotcha' however when
Expand Down Expand Up @@ -636,7 +636,7 @@ Readonly Attributes
-------------------

You can tell Mongoid that certain attributes are readonly. This will allow documents to be
created with theses attributes, but changes to them will be filtered out.
created with these attributes, but changes to them will be filtered out.

.. code-block:: ruby

Expand Down

0 comments on commit 90aff0a

Please sign in to comment.