mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #23688 from meinac/guide_typo_fix
Fix small typo in i18n guide [ci skip]
This commit is contained in:
commit
7c3dc9632b
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ After reading this guide, you will know:
|
|||
* How to specify the order, retrieved attributes, grouping, and other properties of the found records.
|
||||
* How to use eager loading to reduce the number of database queries needed for data retrieval.
|
||||
* How to use dynamic finder methods.
|
||||
* How to use method chaining to use multiple ActiveRecord methods together.
|
||||
* How to use method chaining to use multiple Active Record methods together.
|
||||
* How to check for the existence of particular records.
|
||||
* How to perform various calculations on Active Record models.
|
||||
* How to run EXPLAIN on relations.
|
||||
|
|
|
@ -149,7 +149,7 @@ false` as an argument. This technique should be used with caution.
|
|||
|
||||
### `valid?` and `invalid?`
|
||||
|
||||
Before saving an ActiveRecord object, Rails runs your validations.
|
||||
Before saving an Active Record object, Rails runs your validations.
|
||||
If these validations produce any errors, Rails does not save the object.
|
||||
|
||||
You can also run these validations on your own. `valid?` triggers your validations
|
||||
|
|
|
@ -25,7 +25,7 @@ After reading this guide, you will know:
|
|||
|
||||
* How I18n works in Ruby on Rails
|
||||
* How to correctly use I18n into a RESTful application in various ways
|
||||
* How to use I18n to translate ActiveRecord errors or ActionMailer E-mail subjects
|
||||
* How to use I18n to translate Active Record errors or Action Mailer E-mail subjects
|
||||
* Some other tools to go further with the translation process of your application
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue