1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ci skip] Fixed typos and grammatical errors

This commit is contained in:
Aditya Bhutani 2021-06-01 03:27:58 +05:30
parent 198946b88f
commit f5d25cc372

View file

@ -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))