From f5d25cc37250ce8afe09d21eeb3ead1b5eb47054 Mon Sep 17 00:00:00 2001 From: Aditya Bhutani Date: Tue, 1 Jun 2021 03:27:58 +0530 Subject: [PATCH] [ci skip] Fixed typos and grammatical errors --- guides/source/5_0_release_notes.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md index 55a4e9ce7b..390ca6691e 100644 --- a/guides/source/5_0_release_notes.md +++ b/guides/source/5_0_release_notes.md @@ -56,7 +56,7 @@ information. Rails can now be used to create slimmed down API only applications. This is useful for creating and serving APIs similar to [Twitter](https://dev.twitter.com) or [GitHub](https://developer.github.com) API, -that can be used to serve public facing, as well as, for custom applications. +that can be used to serve public-facing, as well as, for custom applications. You can generate a new api Rails app using: @@ -86,7 +86,7 @@ information. Defines an attribute with a type on a model. It will override the type of existing attributes if needed. This allows control over how values are converted to and from SQL when assigned to a model. -It also changes the behavior of values passed to `ActiveRecord::Base.where`, which lets use our domain objects across much of Active Record, +It also changes the behavior of values passed to `ActiveRecord::Base.where`, which let's use our domain objects across much of Active Record, without having to rely on implementation details or monkey patching. Some things that you can achieve with this: @@ -149,7 +149,7 @@ This gives the objects ability to specify, how to convert values when performing **Dirty Tracking:** -The type of an attribute is given the opportunity to change how dirty +The type of an attribute is allowed to change how dirty tracking is performed. See its @@ -162,7 +162,7 @@ for a detailed write up. A new test runner has been introduced to enhance the capabilities of running tests from Rails. To use this test runner simply type `bin/rails test`. -Test Runner is inspired from `RSpec`, `minitest-reporters`, `maxitest` and others. +Test Runner is inspired by `RSpec`, `minitest-reporters`, `maxitest` and others. It includes some of these notable advancements: - Run a single test using line number of test. @@ -397,7 +397,7 @@ Please refer to the [Changelog][action-pack] for detailed changes. * Added the ability to override default form builder for a controller. ([Pull Request](https://github.com/rails/rails/pull/19736)) -* Added support for API only apps. +* Added support for API-only apps. `ActionController::API` is added as a replacement of `ActionController::Base` for this kind of applications. ([Pull Request](https://github.com/rails/rails/pull/19832))