2014/12/26分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Changed target
to target_reflection
to avoid warning possible reference to past scope
activerecord/lib/active_record/associations/collection_association.rb
の修正です。
include_in_memory?
メソッド内の変数target
をtarget_reflection
に修正しています。
possible reference to past scope
のwarningが出ていたので、その対応との事です。
Add example to get Errored test to pass in Testing guide [ci skip]
rails guideのA Guide to Testing Rails Applications
の修正です。
例外が起きるケースのテストのサンプルを追加しています。
rails.gemspec
の修正です。
required_ruby_version
を2.1.0
から2.2.0
に修正してます。
Remove unnecessary double space
railties/lib/rails/generators/rails/app/templates/bin/setup
の修正です。
APP_ROOT
を設定する処理に、不要なスペースがあったのを削除しています。
Merge pull request #18194 from claudiob/remove-action-controller-model-naming
actionpack/lib/action_controller/model_naming.rb
、
actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
の修正です。
使用していないActionController::ModelNaming
moduleを削除しています。
- Changed paths
to routing_paths
to avoid warning possible reference to past scope
railties/lib/rails/engine.rb
の修正です。
add_routing_paths
initializerの中のpaths
変数をrouting_paths
に変更しています。こちらもwarning対応。
Dump the default nil
for PostgreSQL UUID primary key.
activerecord/lib/active_record/schema_dumper.rb
の修正です。
primary keyにUUIDを指定、かつdefault: nilを設定した場合に、その情報が正しくdumpされなかったバグがあったのを修正しています。
primary keyに何でnilを指定出来るのかと思ったのですが、PostgreSQLAdapter
がuuid_generate_v4()
を使用してdefault値を設定してしまう為、
uuid_generate_v4()
が使えない環境で設定する為、何ですねえ。