なるようになるブログ

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

rails commit log流し読み(2014/06/15)

2014/06/15分のコミットです。

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

actionmailer/CHANGELOG.md


[ci-skip] correct wikipedia MVC link

rails guideのWelcome to Railsの修正です。

wikiMVCページへのリンクを修正しています。


Edit pass on has_secure_password documentation [ci skip]

activemodel/lib/active_model/secure_password.rbのdocの修正です。

has_secure_passwordについての説明を修正しています。誤りがあっての修正というより、より分かりやすく、という修正のようです。


[ci skip] update wiki link for MVC

README.mdの修正です。

wikiMVCページへのリンクを修正しています。


reload I18n as we are defining :ts locale

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

test_number_to_human_with_custom_translation_scopeのテストでI18n.reload!を行うよう修正しています。

:tsのlocaleが定義されている時に、テストがfailする事があった為、その対応です。


[ci skip] correct doc for register_preview_interceptor

actionmailer/lib/action_mailer/base.rbのdocの修正です。

register_preview_interceptorメソッドの使い方の説明が誤っていたのを修正しています。


remove unnecessary calling of I18n.backend.store_translations(empty, {})

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

teardownI18n.backend.reload!を行うよう修正しています。


allow preview interceptors to be registered through config.action_mailer.

actionmailer/lib/action_mailer/railtie.rbの修正です。

preview_interceptorsメソッドの使い方について、先ほどdocの方を修正したのですが、docの方があっていたらしく、処理の方を修正しています。

config.action_mailer.preview_interceptorsで`preview interceptorsの登録が可能です。


Change the deprecation warning on serialized_attributes

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

serialized_attributesメソッド使用時に出力するdeprecateメッセージを修正しています。

"serialized_attributes` is deprecated without replacement"と修正されています。