2017/08/27分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Remove Active Storage duplicated classes from the API site
railties/lib/rails/api/generator.rb
の修正です。
Active Storage配下のクラスがAPI docに重複して表示されてしまっていたのを修正しています。
現状のdoc generatorだとActiveStorage::Foo
というような形でクラスを定義した場合に正しく解釈出来ない(docのトップレベルにも左記クラスが表示されてしまう)という問題がある為。
Fix broken doc layout for action_view [ci skip]
Action Viewのdocの修正です。
ActionView::Helpers
module、及び、ActionView::Template
classに:nodoc:
を指定しています。左記module及びclassのdocのインデックスページに不要なコメントが表示されないようにする為。
Use tt in doc for ActiveRecord [ci skip]
Active Recordのdocの修正です。
doc内でバッククォートを使用していた箇所があったのをttタグまたは+
を使用するよう修正しています。
Use tt in doc for railties [skip ci]
railtiesのdocの修正です。
doc内でバッククォートを使用していた箇所があったのをttタグを使用するよう修正、及びエスケープが不足していた箇所にエスケープを追加しています。
Use tt in doc for ActionView [ci skip]
Action Viewの修正です。
doc内でバッククォートを使用していた箇所があったのをttタグまたは+
を使用するよう修正しています。
Retrive screenshot in relative path of current directory
actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb
の修正です。
system testのscreenshot取得処理がrails engine配下で動作しないバグがあったのを修正しています。
Prefer to place a table options before force: :cascade
(#28005)
activerecord/lib/active_record/schema_dumper.rb
の修正です。
schema dump処理でforce: :cascade
オプションが他のtable optionより前に出力されていたのを、他のtable optionを先に出力するよう修正しています。
- tbl.print ", force: :cascade" table_options = @connection.table_options(table) if table_options.present? tbl.print ", #{format_options(table_options)}" end - tbl.puts " do |t|" + tbl.puts ", force: :cascade do |t|"
force: :cascade
は重要な情報ではなく、他のオプションより先に出す必要は無い為との事です。
Omit the default limit for float columns (#28041)
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
の修正です。
MySQL adapterでfloatカラムを使用する際に、不要なデフォルトのlimit指定があったのを削除しています。
Should be appear deprecation message for every call (#29649)
activerecord/lib/active_record/relation/delegation.rb
の修正です。
Relation
でdeperecateになったarelへのメソッド呼び出しで、一度行ったメソッド呼び出しではdeprecateメッセージを表示しないようになっていたのを、全てのメソッド呼び出しでdeprecateメッセージを表示するよう修正しています。
Remove trailing spaces [ci skip]
各guideの修正です。
行の末尾から不要なスペースを削除しています。