2016/05/03分のコミットです。
CHANGELOGへの追加はありませんでした。
Do not delegate AR::Base#empty?
to all
activerecord/lib/active_record/querying.rb
の修正です。
ActiveRecord::Querying
moduleがdelegateするメソッドからempty?
を削除しています。
Delegate some additional methods in querying.rb でone?
、none?
メソッドと一緒に追加されたのですが、one?
、none?
と異なりenumerable外のメソッドにも影響を与えてしまう為、delegateしないようにしたとの事です(実際にhas_many + STIの組み合わせて、インスタンスを正常に生成出来ないリグレッションが発生していた為の事で)。
Fix template resolver cache concurrency: "can't add a new key into hash during iteration"
activesupport/activesupport.gemspec
、
Gemfile.lock
の修正です。
concurrent-ruby
のバージョンを、1.0.2
以上を使用するよう修正しています。
concurrency-ruby
1.0.1以下だと、Concurrent::Map
クラスで#inspect?
メソッドを使用した場合に、正常に動作しないバグがあった為との事です。
参考:Conc::Map - MRI backend fixes by thedarkone · Pull Request #529 · ruby-concurrency/concurrent-ruby
remove empty?
from CHANGELOG [ci skip]
activerecord/CHANGELOG.md
の修正です。
CHANGELOGから、empty?
メソッドをdelegateするよう対応した件を削除しています。
Do not delegate AR::Base#empty?
to all
でActiveRecord::Querying
moduleがdelegateするメソッドからempty?
を削除しています。
Fix small typo in Active Record Migrations documentation [ci skip]
activerecord/lib/active_record/migration.rb
のdocの修正です。
defined
をdefinded
にタイポしている箇所があったのを修正しています。
Release notes: Remove duplicate entries [ci skip]
rails guideのRuby on Rails 5.0 Release Notes
の修正です。
collection caching及びbelongs_to
のrequired
がデフォルトtrueになった対応についてのentryが重複していたので、それぞれ不要なentryを削除しています。