Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Commit adbbe32

Browse files
committed
Fix use of possessive its
1 parent f1059cc commit adbbe32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/properties.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ created_at: Tue Dec 04 13:27:16 +1030 2007
99
================
1010

1111
A model's properties are not introspected from the fields in the data-store; In
12-
fact the reverse happens. You declare the properties for a model inside it's
12+
fact the reverse happens. You declare the properties for a model inside its
1313
class definition, which is then used to generate the fields in the data-store.
1414

1515
This has a few advantages. First it means that a model's properties are
@@ -143,7 +143,7 @@ Lazy Loading
143143
------------
144144

145145
Properties can be configured to be lazy loaded. A lazily loaded property is not
146-
requested from the data-store by default. Instead it is only loaded when it's
146+
requested from the data-store by default. Instead it is only loaded when its
147147
accessor is called for the first time. This means you can stop default queries
148148
from being greedy, a particular problem with text fields. Text fields are lazily
149149
loaded by default, which you can over-ride if you need to.
@@ -253,7 +253,7 @@ end
253253
Over-riding Accessors
254254
---------------------
255255

256-
When a property has declared accessors for getting and setting, it's values are
256+
When a property has declared accessors for getting and setting, its values are
257257
added to the model. Just like using `attr_accessor`, you can over-ride these
258258
with your own custom accessors. It's a simple matter of adding an accessor after
259259
the property declaration. Reopening the Post class....

why.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ The idea is that you aren't going to load a set of objects and use only an
224224
association in just one of them. This should hold up pretty well against a 99%
225225
rule.
226226

227-
When you don't want it to work like this, just load the item you want in it's
227+
When you don't want it to work like this, just load the item you want in its
228228
own set. So DataMapper thinks ahead. We like to call it "performant by default".
229229
*This feature single-handedly wipes out the "N+1 Query Problem".*
230230

0 commit comments

Comments
 (0)