Skip to content

Commit

Permalink
[skip ci] Made a consistant wording accross the notes
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilgkrishnan committed Sep 7, 2023
1 parent 0851a87 commit 73eb8bc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions guides/source/7_1_release_notes.md
Expand Up @@ -156,6 +156,7 @@ The SQL generated by query methods in Active Record (e.g. `#reload`, `#update`,

The `query_constraints` macro can be used as a "virtual primary key" to achieve the same behavior without modifying the database schema.
Example:

```ruby
class TravelRoute < ActiveRecord::Base
query_constraints :origin, :destination
Expand All @@ -165,6 +166,7 @@ end
Similarly, associations accept a `query_constraints:` option. This option serves as a composite foreign key, configuring the list of columns used for accessing the associated record.

Example:

```ruby
class TravelRouteReview < ActiveRecord::Base
belongs_to :travel_route, query_constraints: [:travel_route_origin, :travel_route_destination]
Expand Down Expand Up @@ -394,11 +396,11 @@ Please refer to the [Changelog][railties] for detailed changes.

### Deprecations

* Deprecated usage of `Rails.application.secrets`.
* Deprecate usage of `Rails.application.secrets`.

* Deprecated `secrets:show` and `secrets:edit` commands in favor of `credentials`.
* Deprecate `secrets:show` and `secrets:edit` commands in favor of `credentials`.

* Deprecated `Rails::Generators::Testing::Behaviour` in favor of `Rails::Generators::Testing::Behavior`.
* Deprecate `Rails::Generators::Testing::Behaviour` in favor of `Rails::Generators::Testing::Behavior`.

### Notable changes

Expand Down Expand Up @@ -495,9 +497,9 @@ Please refer to the [Changelog][action-mailer] for detailed changes.

### Deprecations

* Deprecated `config.action_mailer.preview_path`.
* Deprecate `config.action_mailer.preview_path`.

* Deprecated passing params to `assert_enqueued_email_with` via the `:args` kwarg.
* Deprecate passing params to `assert_enqueued_email_with` via the `:args` kwarg.
Now supports a `:params` kwarg, so use that to pass params.

### Notable changes
Expand All @@ -508,7 +510,6 @@ Please refer to the [Changelog][action-mailer] for detailed changes.

* Add `deliver_enqueued_emails` to `ActionMailer::TestHelper` to deliver all enqueued email jobs.


Active Record
-------------

Expand Down

0 comments on commit 73eb8bc

Please sign in to comment.