なるようになるブログ

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

rails commit log流し読み(2019/01/16)

2019/01/16分のコミットです。

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


Install Action Mailbox and Action Text when verifying release.

tasks/release.rbの修正です。

gem release時のチェック処理で、rails action_mailbox:installrails action_text:installを実行するよう修正しています。


Exercise Active Storage and Action Text in verification app.

tasks/release.rbの修正です。

gem release時のチェック処理で、Active StorageとAction Textの機能についてもチェックするよう修正しています。


Add 'null: false' to Action Mailbox table

actionmailbox/db/migrate/20180917164000_create_action_mailbox_tables.rbの修正です。

Action Mailboxで使用するtable(action_mailbox_inbound_emails)のcreated_atupdated_atnull: falseを指定するよう修正しています。


Document that format.any can match all formats

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

respond_toメソッドのdocにformat.anyについての説明を追加しています。


Remove Decorator pattern in Overriding existing classes examples

rails guideのGetting Started with Enginesの修正です。

engineを使用した場合のexampletとして既存のクラスを拡張する方法が説明されており、それを"decorators"として表現していたのを、"override"と言葉を使うよう修正しています。

やっている事がdecorator patternでは無かった(既存のオブジェクトインスタンスに機能を追加するではなく、既存のクラスを再定義していた)為。