2016/06/13分のコミットです。
CHANGELOGへの追加はありませんでした。
Fix calculate
with a string value in from
and eager loading
activerecord/lib/active_record/relation/finder_methods.rb
の修正です。
associationのeager load + from
にStringを指定した場合に、エラーになってしまうバグがあったのを修正しています。
#construct_relation_for_association_calculations
で参照する値が誤っていた為エラーになっていたので、参照する値を修正し対応しています。
Changed ActiveJob::Base to ApplicationJob in the Active Job guide [ci skip]
rails guideのActive Job Basics
の修正です。
各exampleコードの親クラスをActiveJob::Base
からApplicationJob
に修正しています。Rails 5から新規に作成するjobの親クラスはApplicationJob
に変更になった為。
Remove an unused require in ActiveSupport::TestCase
activesupport/lib/active_support/testing/assertions.rb
の修正です。
不要なactive_support/core_ext/object/blank
のrequireを削除しています。
Add codeclimate and rubocop config files
codeclimate及びrubocop用のconfigファイルを追加しています。
実験用に追加したようで、まだPRに対して自動でコメントがつくようにはなっていないようです。
Merge pull request #25372 from kamipo/remove_assert_date_from_db
activerecord/test/cases/multiparameter_attributes_test.rb
、
activerecord/test/cases/test_case.rb
の修正です。
不要な独自のassertion(assert_date_from_db
)を削除しています。
Explicitly require acts_like
in AV
actionview/lib/action_view/helpers/date_helper.rb
の修正です。
不足していたactive_support/core_ext/object/acts_like
のrequireを追加しています。