2015/10/25分のコミットです。
CHANGELOGへの追加はありませんでした。
Do not omit parentheses [ci skip]
Actvive Recordの修正です。
各メソッドのexampleコードで、メソッド呼び出し時に括弧(()
)が無かったのを追加しています。
# class Blog < ActiveRecord::Base - # has_many :published_posts, -> { where published: true }, class_name: 'Post' + # has_many :published_posts, -> { where(published: true) }, class_name: 'Post'
Tweaked wording used in some tests.
各テストの修正です。
テスト用テキストに、"BRO"を使っている箇所から"BRO"を削除しています
- [404, { "Content-Type" => "text/plain" }, ["YOU FAILED BRO"]] + [404, { "Content-Type" => "text/plain" }, ["YOU FAILED"]]
こんな感じで、各テストを修正しているのですが、何でこの修正が行われたのかはさっぱりわからない…。PRにも何の説明もないんですよねえ。
actionpack/lib/action_controller/metal/mime_responds.rb
のdocの修正です。
ActionController::MimeResponds.respond_to
メソッドのdocでシンボル、メソッド名がコードフォントになっていなかったので、コードフォントになるよう修正しています。