Skip to content

Commit c5af636

Browse files
committed
Fixed a typo where "exist" should be "exists"
Exists in lines 222 and 248 matches the singular nouns it is being used with. "Exist" had a mismatch where it expected plural nouns.
1 parent 8bde8aa commit c5af636

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_posts/2011-01-29-what-is-a-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ If we instantiate a model with an `id`, Backbone.js will automatically perform a
219219

220220
### Updating a model
221221

222-
Now that we have a model that exist on the server we can perform an update using a PUT request.
222+
Now that we have a model that exists on the server we can perform an update using a PUT request.
223223
We will use the `save` api call which is intelligent and will send a PUT request instead of a POST request if an `id` is present(conforming to RESTful conventions)
224224

225225
{% highlight javascript %}
@@ -245,7 +245,7 @@ We will use the `save` api call which is intelligent and will send a PUT request
245245

246246
### Deleting a model
247247

248-
When a model has an `id` we know that it exist on the server, so if we wish to remove it from the server we can call `destroy`. `destroy` will fire off a DELETE /user/id (conforming to RESTful conventions).
248+
When a model has an `id` we know that it exists on the server, so if we wish to remove it from the server we can call `destroy`. `destroy` will fire off a DELETE /user/id (conforming to RESTful conventions).
249249

250250
{% highlight javascript %}
251251

0 commit comments

Comments
 (0)