Release notes
*Sourced from [activemodel's releases](https://github.com/rails/rails/releases).*
> ## 6.0.1
> ## Active Support
>
> * `ActiveSupport::SafeBuffer` supports `Enumerator` methods.
>
> *Shugo Maeda*
>
> * The Redis cache store fails gracefully when the server returns a "max number of clients reached" error.
>
> *Brandon Medenwald*
>
> * Fixed that mutating a value returned by a memory cache store would unexpectedly change the cached value.
>
> *Jonathan Hyman*
>
> * The default inflectors in `zeitwerk` mode support overrides:
>
> ```ruby
> # config/initializers/zeitwerk.rb
> Rails.autoloaders.each do |autoloader|
> autoloader.inflector.inflect(
> "html_parser" => "HTMLParser",
> "ssl_error" => "SSLError"
> )
> end
> ```
>
> That way, you can tweak how individual basenames are inflected without touching Active Support inflection rules, which are global. These inflectors fallback to `String#camelize`, so existing inflection rules are still taken into account for non-overridden basenames.
>
> Please, check the [autoloading guide for `zeitwerk` mode](https://guides.rubyonrails.org/v6.0/autoloading_and_reloading_constants.html#customizing-inflections) if you prefer not to depend on `String#camelize` at all.
>
> *Xavier Noria*
>
> * Improve `Range#===`, `Range#include?`, and `Range#cover?` to work with beginless (startless) and endless range targets.
>
> *Allen Hsu*, *Andrew Hodgkinson*
>
> * Don't use `Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID)` on Solaris
>
> *Iain Beeston*
>
>
>
> ## Active Model
>
> * No changes.
>
>
>
> ## Active Record
> ... (truncated)
Changelog
*Sourced from [activemodel's changelog](https://github.com/rails/rails/blob/v6.0.1/activemodel/CHANGELOG.md).*
> ## Rails 6.0.1 (November 5, 2019) ##
>
> * No changes.
>
>
> ## Rails 6.0.0 (August 16, 2019) ##
>
> * No changes.
>
>
> ## Rails 6.0.0.rc2 (July 22, 2019) ##
>
> * No changes.
>
>
> ## Rails 6.0.0.rc1 (April 24, 2019) ##
>
> * Type cast falsy boolean symbols on boolean attribute as false.
>
> Fixes [#35676](https://github-redirect.dependabot.com/rails/rails/issues/35676).
>
> *Ryuta Kamizono*
>
> * Change how validation error translation strings are fetched: The new behavior
> will first try the more specific keys, including doing locale fallback, then try
> the less specific ones.
>
> For example, this is the order in which keys will now be tried for a `blank`
> error on a `product`'s `title` attribute with current locale set to `en-US`:
>
> en-US.activerecord.errors.models.product.attributes.title.blank
> en-US.activerecord.errors.models.product.blank
> en-US.activerecord.errors.messages.blank
>
> en.activerecord.errors.models.product.attributes.title.blank
> en.activerecord.errors.models.product.blank
> en.activerecord.errors.messages.blank
>
> en-US.errors.attributes.title.blank
> en-US.errors.messages.blank
>
> en.errors.attributes.title.blank
> en.errors.messages.blank
>
> *Hugo Vacher*
>
>
> ## Rails 6.0.0.beta3 (March 11, 2019) ##
>
> * No changes.
> ... (truncated)
Commits
- [`09a2979`](https://github.com/rails/rails/commit/09a2979f75c51afb797dd60261a8930f84144af8) v6.0.1
- [`e83cef4`](https://github.com/rails/rails/commit/e83cef4f83450c9dba3077eeb46fa699588f3d3d) Fix multi-threaded issue for `AcceptanceValidator`
- [`7982363`](https://github.com/rails/rails/commit/7982363efabc03e4624cd35aa86e2d284dcd35f7) v6.0.1.rc1
- [`bc5c2c0`](https://github.com/rails/rails/commit/bc5c2c0df1147c08cb88b605cfa1e1bc9a1f17cf) Simplify `LazilyDefineAttributes`
- [`6d51b00`](https://github.com/rails/rails/commit/6d51b00d7ebb00cbc1bfee76c562cefc8827438e) Merge pull request [#35969](https://github-redirect.dependabot.com/rails/rails/issues/35969) from shioyama/avoid_anonymous_module_inclusion_in_a...
- [`036fe8e`](https://github.com/rails/rails/commit/036fe8e62d749943867a3b9dfdd9cc46a34ee65b) Add bug tracker/documentation/mailing list URIs to the gemspecs
- [`66cabed`](https://github.com/rails/rails/commit/66cabeda2c46c582d19738e1318be8d59584cc5b) Preparing for 6.0.0 release
- [`5eaf39b`](https://github.com/rails/rails/commit/5eaf39b1a8e53ac052365306ad9ffac6e7564745) Add note about human_attribute_name symbol/string
- [`4f78062`](https://github.com/rails/rails/commit/4f78062a366879407fa9028bc25dc16fe1f83700) Preparing for 6.0.0.rc2 release
- [`3e2c9e7`](https://github.com/rails/rails/commit/3e2c9e72b50025eafd6bb8e0967ed6dd84c64229) Merge pull request [#36352](https://github-redirect.dependabot.com/rails/rails/issues/36352) from kamipo/fast_pluck_datetime
- Additional commits viewable in [compare view](https://github.com/rails/rails/compare/v4.2.0...v6.0.1)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/abahgat/redmine_didyoumean/network/alerts).
Bumps activemodel from 4.2.0 to 6.0.1.
Release notes
*Sourced from [activemodel's releases](https://github.com/rails/rails/releases).* > ## 6.0.1 > ## Active Support > > * `ActiveSupport::SafeBuffer` supports `Enumerator` methods. > > *Shugo Maeda* > > * The Redis cache store fails gracefully when the server returns a "max number of clients reached" error. > > *Brandon Medenwald* > > * Fixed that mutating a value returned by a memory cache store would unexpectedly change the cached value. > > *Jonathan Hyman* > > * The default inflectors in `zeitwerk` mode support overrides: > > ```ruby > # config/initializers/zeitwerk.rb > Rails.autoloaders.each do |autoloader| > autoloader.inflector.inflect( > "html_parser" => "HTMLParser", > "ssl_error" => "SSLError" > ) > end > ``` > > That way, you can tweak how individual basenames are inflected without touching Active Support inflection rules, which are global. These inflectors fallback to `String#camelize`, so existing inflection rules are still taken into account for non-overridden basenames. > > Please, check the [autoloading guide for `zeitwerk` mode](https://guides.rubyonrails.org/v6.0/autoloading_and_reloading_constants.html#customizing-inflections) if you prefer not to depend on `String#camelize` at all. > > *Xavier Noria* > > * Improve `Range#===`, `Range#include?`, and `Range#cover?` to work with beginless (startless) and endless range targets. > > *Allen Hsu*, *Andrew Hodgkinson* > > * Don't use `Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID)` on Solaris > > *Iain Beeston* > > > > ## Active Model > > * No changes. > > > > ## Active Record > ... (truncated)Changelog
*Sourced from [activemodel's changelog](https://github.com/rails/rails/blob/v6.0.1/activemodel/CHANGELOG.md).* > ## Rails 6.0.1 (November 5, 2019) ## > > * No changes. > > > ## Rails 6.0.0 (August 16, 2019) ## > > * No changes. > > > ## Rails 6.0.0.rc2 (July 22, 2019) ## > > * No changes. > > > ## Rails 6.0.0.rc1 (April 24, 2019) ## > > * Type cast falsy boolean symbols on boolean attribute as false. > > Fixes [#35676](https://github-redirect.dependabot.com/rails/rails/issues/35676). > > *Ryuta Kamizono* > > * Change how validation error translation strings are fetched: The new behavior > will first try the more specific keys, including doing locale fallback, then try > the less specific ones. > > For example, this is the order in which keys will now be tried for a `blank` > error on a `product`'s `title` attribute with current locale set to `en-US`: > > en-US.activerecord.errors.models.product.attributes.title.blank > en-US.activerecord.errors.models.product.blank > en-US.activerecord.errors.messages.blank > > en.activerecord.errors.models.product.attributes.title.blank > en.activerecord.errors.models.product.blank > en.activerecord.errors.messages.blank > > en-US.errors.attributes.title.blank > en-US.errors.messages.blank > > en.errors.attributes.title.blank > en.errors.messages.blank > > *Hugo Vacher* > > > ## Rails 6.0.0.beta3 (March 11, 2019) ## > > * No changes. > ... (truncated)Commits
- [`09a2979`](https://github.com/rails/rails/commit/09a2979f75c51afb797dd60261a8930f84144af8) v6.0.1 - [`e83cef4`](https://github.com/rails/rails/commit/e83cef4f83450c9dba3077eeb46fa699588f3d3d) Fix multi-threaded issue for `AcceptanceValidator` - [`7982363`](https://github.com/rails/rails/commit/7982363efabc03e4624cd35aa86e2d284dcd35f7) v6.0.1.rc1 - [`bc5c2c0`](https://github.com/rails/rails/commit/bc5c2c0df1147c08cb88b605cfa1e1bc9a1f17cf) Simplify `LazilyDefineAttributes` - [`6d51b00`](https://github.com/rails/rails/commit/6d51b00d7ebb00cbc1bfee76c562cefc8827438e) Merge pull request [#35969](https://github-redirect.dependabot.com/rails/rails/issues/35969) from shioyama/avoid_anonymous_module_inclusion_in_a... - [`036fe8e`](https://github.com/rails/rails/commit/036fe8e62d749943867a3b9dfdd9cc46a34ee65b) Add bug tracker/documentation/mailing list URIs to the gemspecs - [`66cabed`](https://github.com/rails/rails/commit/66cabeda2c46c582d19738e1318be8d59584cc5b) Preparing for 6.0.0 release - [`5eaf39b`](https://github.com/rails/rails/commit/5eaf39b1a8e53ac052365306ad9ffac6e7564745) Add note about human_attribute_name symbol/string - [`4f78062`](https://github.com/rails/rails/commit/4f78062a366879407fa9028bc25dc16fe1f83700) Preparing for 6.0.0.rc2 release - [`3e2c9e7`](https://github.com/rails/rails/commit/3e2c9e72b50025eafd6bb8e0967ed6dd84c64229) Merge pull request [#36352](https://github-redirect.dependabot.com/rails/rails/issues/36352) from kamipo/fast_pluck_datetime - Additional commits viewable in [compare view](https://github.com/rails/rails/compare/v4.2.0...v6.0.1)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/abahgat/redmine_didyoumean/network/alerts).