2017/10/31分のコミットです。
CHANGELOGへの追加はありませんでした。
Remove unused MissingRequestError
actionview/lib/action_view.rb
、
actionview/lib/action_view/template/error.rb
の修正です。
使用していないActionView::MissingRequestError
クラスを削除しています。
Merge pull request #31004 from shuheiktgw/remove_unnecessary_returns
return
が不要な箇所(メソッドの最後の式)にreturn
を使用している箇所があったのをまとめて削除しています。
Prevent source line wrapping in rescue layout
actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb
の修正です。
rescue layoutで、ソース行が改行されないよう、white-space: pre
を指定するよう修正しています。
.line {
padding-left: 10px;
+ white-space: pre;
}
PRより。
before
after