なるようになるブログ

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

rails commit log流し読み(2016/03/09)

2016/03/09分のコミットです。

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

actionpack/CHANGELOG.md


add test case for schema dumping of PG bytea columns.

activerecord/test/cases/adapters/postgresql/bytea_test.rbの修正です。

Postgresで、byte型のカラムをdumpした場合のテストを追加しています。


friendly error message if missing listen

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

listen gemを使用する機能(EventedFileUpdateCheckerクラス)が有効になっている、かつGemfileにlistenが定義されてない場合に、適切なエラーメッセージ("Could not load the 'listen' gem. Addgem 'listen'to the development group of your Gemfile")が表示されるよう修正しています。


Merge pull request #24062 from resure/redundant-escapes

各generatorで、ファイル名を生成するのに不要なsuffixを削除する際の正規表現に、不要なエスケープがあったのを削除しています。


Pass headers through to payload for logging.

actionpack/lib/action_controller/metal/instrumentation.rbの修正です。

start_processing.action_controllerprocess_action.action_controller notificationのpayloadに、request headersを含むよう修正しています。


use same name to type object

activemodel/lib/active_model/type.rbactiverecord/lib/active_record/connection_adapters/postgresql_adapter.rbの修正です。

type objectの名前がadapter毎に異なってしまっている箇所があったのを、同じ名前を使用するよう修正しています。


Remove passing with_dispatchers to AppGenerator

railties/lib/rails/tasks/framework.rakeの修正です。

Rails::Generators::AppGeneratoクラスのインスタンスを生成する際、with_dispatchersというオプションを渡すようになっていたのですが、渡すだけで何処でも使用していなかったので、オプションを渡すのを削除しています。