なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2018/09/06)

2018/09/06分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activerecord/CHANGELOG.md


Ensure we always cleanup the databases

activesupport/lib/active_support/testing/parallelization.rbの修正です。

parallel testsで、test内でexceptionがraiseされた場合等にDB cleaup等の後処理が実行されなかったのを、必ず後処理は実行するよう修正しています。


Upgrade all the gems

Gemfile.lockの修正です。

各gemのバージョンを更新しています。


Unlock ffi version

Gemfileの修正です。

ffiバージョンが1.9.21以下に固定されていたのを、バージョン固定を削除しています。

1.9.24より前のバージョンにはsecurity issueがあった為バージョンを固定していたのですが、最新のバージョン(1.9.25)では問題無い為。


Merge pull request #33799 from kamipo/deprecate_unused_methods_in_database_limits

activerecord/lib/active_record/connection_adapters/abstract/database_limits.rbの修正です。

DatabaseLimits moduleの、`column_name_length, table_name_length, columns_per_table, indexes_per_table, columns_per_multicolumn_index, sql_query_length, joins_per_queryメソッドをdeprecateにしています

Rails内部で全く使われていない為。