なるようになるブログ

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

rails commit log流し読み(2014/07/12)

2014/07/12分のコミットです。

CHANGELOGへの追加はありませんでした。


Silence the output downloading a file

activesupport/test/multibyte_conformance_test.rbの修正です。

テストでファイルダウンロード処理を行っており、その処理の中でダウンロードしたファイル名をstderrに出力しているのですが、その情報をどこでも使用していないので、出力しないよう修正しています。


Merge pull request #11993 from razielgn/actionview-use-name-to-inspect-error

actionview/test/template/render_test.rbの修正です。

test_render_partial_without_object_or_collection_does_not_generate_partial_name_local_variableのテストで、エラーメッセージにrenderメソッドに指定した値が含まれる事を確認するテストがあり、結果の確認をより正確に出来るよう修正しています。


Fixing typo in comment

activerecord/lib/active_record/attribute_methods.rbのdocの修正です。

threadthreadsに修正しています。typo


Assert the nature of the original exception

再度actionview/test/template/render_test.rbの修正です。

先に修正した箇所について、エラークラス自体の確認を行うテストを追加しています。


Revert "[ci skip] Fix doc for except"

rails guideのActive Record Query Interfaceの修正です。

unscopeexceptに修正したコミットをrevertしています。

unscopeの方が文書として良いのでは、という事のようです。


fix mismatched example call [ci skip]

rails guideのActive Record Query Interfaceの修正です。

exampleが誤っていたのを修正しています。


[Bug report templates] Added rack master to the Gemfile

bug_report_templates の修正です。

Gemfileにrackを追加する必要があるので、その対応を行っています。