Skip to content

Commit 974de71

Browse files
authored
Merge pull request rails#46763 from jdufresne/trimws
Trim trailing whitespace from *.md files
2 parents 45dd422 + aa81f67 commit 974de71

File tree

9 files changed

+7
-11
lines changed

9 files changed

+7
-11
lines changed

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ https://rubyonrails.org/conduct
99
For a history of updates, see the page history here:
1010

1111
https://github.com/rails/website/commits/main/_pages/conduct.html
12-

actionview/app/javascript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ rails-ujs is released under the [MIT License](MIT-LICENSE).
5555
[data]: https://www.w3.org/TR/html5/dom.html#embedding-custom-non-visible-data-with-the-data-attributes "Embedding custom non-visible data with the data-* attributes"
5656
[validator]: https://validator.w3.org/
5757
[csrf]: https://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html
58-
[ujsdocs]: https://github.com/rails/jquery-ujs/wiki
58+
[ujsdocs]: https://github.com/rails/jquery-ujs/wiki

guides/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
2-
31
Please check [7-0-stable](https://github.com/rails/rails/blob/7-0-stable/guides/CHANGELOG.md) for previous changes.

guides/source/7_1_release_notes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON https://guides.rubyonrails.org.**
32

43
Ruby on Rails 7.1 Release Notes

guides/source/action_cable_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class ChatChannel < ApplicationCable::Channel
282282
def send_welcome_message
283283
broadcast_to(...)
284284
end
285-
285+
286286
def track_subscription
287287
# ...
288288
end

guides/source/active_record_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ user = User.find_by(name: 'David')
288288
user.update(name: 'Dave')
289289
```
290290

291-
This is most useful when updating several attributes at once.
291+
This is most useful when updating several attributes at once.
292292

293293
If you'd like to update several records in bulk without callbacks or
294294
validations, you can update the database directly using `update_all`:

guides/source/active_record_postgresql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ irb> device.id
501501
=> "814865cd-5a1d-4771-9306-4268f188fe9e"
502502
```
503503

504-
NOTE: `gen_random_uuid()` (from `pgcrypto`) is assumed if no `:default` option
504+
NOTE: `gen_random_uuid()` (from `pgcrypto`) is assumed if no `:default` option
505505
was passed to `create_table`.
506506

507507
To use the Rails model generator for a table using UUID as the primary key, pass
@@ -513,7 +513,7 @@ For example:
513513
rails generate model Device --primary-key-type=uuid kind:string
514514
```
515515

516-
When building a model with a foreign key that will reference this UUID, treat
516+
When building a model with a foreign key that will reference this UUID, treat
517517
`uuid` as the native field type, for example:
518518

519519
```ruby

guides/source/maintenance_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ follows, all versions, except for security releases, in `X.Y.Z`, format.
99

1010
--------------------------------------------------------------------------------
1111

12-
Versioning
12+
Versioning
1313
------------
1414

1515
Rails follows a shifted version of [semver](https://semver.org/):

railties/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* Add ENV["SECRET_KEY_BASE_DUMMY"] for starting production environment with a generated secret base key,
22
which can be used to run tasks like `assets:precompile` without making the RAILS_MASTER_KEY available
33
to the build process.
4-
4+
55
Dockerfile layer example:
66

77
```

0 commit comments

Comments
 (0)