Release notes
*Sourced from [rails's releases](https://github.com/rails/rails/releases).*
> ## 5.2.4
> ## Active Support
>
> * Make ActiveSupport::Logger Fiber-safe. Fixes [#36752](https://github-redirect.dependabot.com/rails/rails/issues/36752).
>
> Use `Fiber.current.__id__` in `ActiveSupport::Logger#local_level=` in order
> to make log level local to Ruby Fibers in addition to Threads.
>
> Example:
>
> logger = ActiveSupport::Logger.new(STDOUT)
> logger.level = 1
> p "Main is debug? #{logger.debug?}"
>
> Fiber.new {
> logger.local_level = 0
> p "Thread is debug? #{logger.debug?}"
> }.resume
>
> p "Main is debug? #{logger.debug?}"
>
> Before:
>
> Main is debug? false
> Thread is debug? true
> Main is debug? true
>
> After:
>
> Main is debug? false
> Thread is debug? true
> Main is debug? false
>
> *Alexander Varnin*
>
>
>
> ## Active Model
>
> * Type cast falsy boolean symbols on boolean attribute as false.
>
> Fixes [#35676](https://github-redirect.dependabot.com/rails/rails/issues/35676).
>
> *Ryuta Kamizono*
>
>
>
> ## Active Record
>
> * Fix circular `autosave: true` causes invalid records to be saved.
> ... (truncated)
Commits
- [`8bec77c`](https://github.com/rails/rails/commit/8bec77cc0f1fd47677a331a64f68c5918efd2ca9) Preparing for 5.2.4 release
- [`9e2a341`](https://github.com/rails/rails/commit/9e2a34122bd436e92a21ded4a50fa23461c29a4e) Preparing for 5.2.4.rc1 release
- [`c192bc3`](https://github.com/rails/rails/commit/c192bc30149c24c21a6a8dec7d1ce036cf095427) Work with old versions of sidekiq
- [`21cdceb`](https://github.com/rails/rails/commit/21cdceb7c661365bff7d89490810ac22e1b0bb05) Support Ruby 2.2
- [`0e54ed1`](https://github.com/rails/rails/commit/0e54ed1f40a197e6de41ced2f86fd73caf2d46da) Make the tests pass in versions of ruby that don't support sprockets 4
- [`c11581e`](https://github.com/rails/rails/commit/c11581e3e359906c09ce9ad5afc15867a7074158) Use rails() instead of system()
- [`606cd4f`](https://github.com/rails/rails/commit/606cd4f8a3642b81a0f104db1893c3f083a247a1) Sprockets uses debug. not self. now
- [`f3993f9`](https://github.com/rails/rails/commit/f3993f9db5ca766da02997c77bf94f7bb2b38a8d) Link .js from manifest.js in assets_test
- [`c2abbce`](https://github.com/rails/rails/commit/c2abbce96f49fb2ad1779f0bc32368efe4219a71) Remove a javascript from test
- [`aeadae2`](https://github.com/rails/rails/commit/aeadae2aed67a7e867d7a5b577ed8c0a58b9011d) Use a stylesheet instead of a javascript in test
- Additional commits viewable in [compare view](https://github.com/rails/rails/compare/v5.2.2.1...v5.2.4)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps rails from 5.2.2.1 to 5.2.4.
Release notes
*Sourced from [rails's releases](https://github.com/rails/rails/releases).* > ## 5.2.4 > ## Active Support > > * Make ActiveSupport::Logger Fiber-safe. Fixes [#36752](https://github-redirect.dependabot.com/rails/rails/issues/36752). > > Use `Fiber.current.__id__` in `ActiveSupport::Logger#local_level=` in order > to make log level local to Ruby Fibers in addition to Threads. > > Example: > > logger = ActiveSupport::Logger.new(STDOUT) > logger.level = 1 > p "Main is debug? #{logger.debug?}" > > Fiber.new { > logger.local_level = 0 > p "Thread is debug? #{logger.debug?}" > }.resume > > p "Main is debug? #{logger.debug?}" > > Before: > > Main is debug? false > Thread is debug? true > Main is debug? true > > After: > > Main is debug? false > Thread is debug? true > Main is debug? false > > *Alexander Varnin* > > > > ## Active Model > > * Type cast falsy boolean symbols on boolean attribute as false. > > Fixes [#35676](https://github-redirect.dependabot.com/rails/rails/issues/35676). > > *Ryuta Kamizono* > > > > ## Active Record > > * Fix circular `autosave: true` causes invalid records to be saved. > ... (truncated)Commits
- [`8bec77c`](https://github.com/rails/rails/commit/8bec77cc0f1fd47677a331a64f68c5918efd2ca9) Preparing for 5.2.4 release - [`9e2a341`](https://github.com/rails/rails/commit/9e2a34122bd436e92a21ded4a50fa23461c29a4e) Preparing for 5.2.4.rc1 release - [`c192bc3`](https://github.com/rails/rails/commit/c192bc30149c24c21a6a8dec7d1ce036cf095427) Work with old versions of sidekiq - [`21cdceb`](https://github.com/rails/rails/commit/21cdceb7c661365bff7d89490810ac22e1b0bb05) Support Ruby 2.2 - [`0e54ed1`](https://github.com/rails/rails/commit/0e54ed1f40a197e6de41ced2f86fd73caf2d46da) Make the tests pass in versions of ruby that don't support sprockets 4 - [`c11581e`](https://github.com/rails/rails/commit/c11581e3e359906c09ce9ad5afc15867a7074158) Use rails() instead of system() - [`606cd4f`](https://github.com/rails/rails/commit/606cd4f8a3642b81a0f104db1893c3f083a247a1) Sprockets uses debug. not self. now - [`f3993f9`](https://github.com/rails/rails/commit/f3993f9db5ca766da02997c77bf94f7bb2b38a8d) Link .js from manifest.js in assets_test - [`c2abbce`](https://github.com/rails/rails/commit/c2abbce96f49fb2ad1779f0bc32368efe4219a71) Remove a javascript from test - [`aeadae2`](https://github.com/rails/rails/commit/aeadae2aed67a7e867d7a5b577ed8c0a58b9011d) Use a stylesheet instead of a javascript in test - Additional commits viewable in [compare view](https://github.com/rails/rails/compare/v5.2.2.1...v5.2.4)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)