diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-10-06 08:45:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-06 08:45:51 -0400 |
commit | 6375c9a3ae34cadd0d98e31ae1474fee26cf92ea (patch) | |
tree | 2e599f1216258bf12027a3ead67d11e031edb6c8 /guides/source/2_3_release_notes.md | |
parent | 883d83bf727b23d9c9d10a3366441468d1273b02 (diff) | |
parent | de2afdc457d63ee628b5cac4e7bb73812e016e38 (diff) | |
download | rails-6375c9a3ae34cadd0d98e31ae1474fee26cf92ea.tar.gz rails-6375c9a3ae34cadd0d98e31ae1474fee26cf92ea.tar.bz2 rails-6375c9a3ae34cadd0d98e31ae1474fee26cf92ea.zip |
Merge pull request #30816 from ydakuka/cosmetic-fixes
Missing backquotes in the guides
Diffstat (limited to 'guides/source/2_3_release_notes.md')
-rw-r--r-- | guides/source/2_3_release_notes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/2_3_release_notes.md b/guides/source/2_3_release_notes.md index 3f5a3c7ade..1020f4a8e7 100644 --- a/guides/source/2_3_release_notes.md +++ b/guides/source/2_3_release_notes.md @@ -231,7 +231,7 @@ Rails chooses between file, template, and action depending on whether there is a ### Application Controller Renamed -If you're one of the people who has always been bothered by the special-case naming of `application.rb`, rejoice! It's been reworked to be application_controller.rb in Rails 2.3. In addition, there's a new rake task, `rake rails:update:application_controller` to do this automatically for you - and it will be run as part of the normal `rake rails:update` process. +If you're one of the people who has always been bothered by the special-case naming of `application.rb`, rejoice! It's been reworked to be `application_controller.rb` in Rails 2.3. In addition, there's a new rake task, `rake rails:update:application_controller` to do this automatically for you - and it will be run as part of the normal `rake rails:update` process. * More Information: * [The Death of Application.rb](http://afreshcup.com/2008/11/17/rails-2x-the-death-of-applicationrb/) @@ -304,7 +304,7 @@ Rails now keeps a per-request local cache of read from the remote cache stores, Rails can now provide localized views, depending on the locale that you have set. For example, suppose you have a `Posts` controller with a `show` action. By default, this will render `app/views/posts/show.html.erb`. But if you set `I18n.locale = :da`, it will render `app/views/posts/show.da.html.erb`. If the localized template isn't present, the undecorated version will be used. Rails also includes `I18n#available_locales` and `I18n::SimpleBackend#available_locales`, which return an array of the translations that are available in the current Rails project. -In addition, you can use the same scheme to localize the rescue files in the `public` directory: `public/500.da.html` or `public/404.en.html` work, for example. +In addition, you can use the same scheme to localize the rescue files in the public directory: `public/500.da.html` or `public/404.en.html` work, for example. ### Partial Scoping for Translations |