なるようになるブログ

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

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

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

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


Merge pull request https://github.com/rails/rails/pull/28637 from st0012/fix-partial-cache-logging

Action Viewの修正です。

partial templateがcacheされていないのにログにcache hitと表示される(またはその逆)バグがあったのを修正しています。


Don’t rely on the @view_renderer being defined.

actionview/lib/action_view/helpers/cache_helper.rbの修正です。

fragment_forメソッドで@view_renderer変数を参照する前に、@view_rendererが定義済みかどうかチェックするよう修正しています。Action Mailerからの処理だと定義されていない事がある為。


Fix link in active_record_postgresql.md

rails guideのActive Record and PostgreSQLの修正です。

PostgreSQLの公式ドキュメント(functions and operators)へのリンクが誤っていたのを修正しています。


remove the extra comma in association_basics.md

rails guideのActive Record Associationsの修正です。

limitメソッドのexmapleコードに不要なカンマがあったのを削除しています。


[ci skip] Fix link in active_record_postgresql.md

rails guideのActive Record and PostgreSQLの修正です。

PostgreSQLの公式ドキュメント(pgcrypto generator function)へのリンクが誤っていたのを修正しています。


Merge pull request #29361 from metaskills/sqlserversetup-take2

railties/lib/rails/generators/rails/app/templates/config/databases/sqlserver.ymlの修正です。

ENV varの指定方法に誤りがあったのを修正しています。


Make i18n test match the description of the test

railties/test/application/initializers/i18n_test.rbの修正です。

i18n.fallbacksのテストで、テストのdescriptionと実際にテストしている内容が食い違っていたのを修正しています。