2015/09/18分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #21625 from amitsuroliya/improve_docs
activesupport/lib/active_support/values/time_zone.rb
のdocの修正です。
ActiveSupport::TimeZone
クラスの各メソッドのdocで、クラス名をTimeZone
から ActiveSupport::TimeZone
に修正しています。
Merge pull request #21562 from betesh/mime_types_in_actionmailer
actionmailer/lib/action_mailer.rb
の修正です。
Action Mailerの初期化処理で、ActionView::Base.default_formats
にMime::SET.symbols
を設定、及びActionView::Template::Types
をMime
にdelegateするよう修正しています。
Action Mailer単体で使用した場合に、Mime Typeが正しく設定されない問題があるため、初期化処理でMimeを設定する処理を追加したとの事です。
Change AbstractRequest to ActionDispatch::Request
rails guideのAction Controller Overview
の修正です。
The Request and Response Objects
の項、request
メソッドが返すクラス名をAbstractRequest
からActionDispatch::Request
に修正しています。
Correct ArgumentError message in ActiveSupport conversions docs [ci skip]
activesupport/lib/active_support/core_ext/array/conversions.rb
のdocの修正です。
Array#to_sentence
メソッドに不正なkeyを指定した場合に表示されるエラーメッセージが、実際のエラーメッセージと異なっていたのを修正しています。
activerecord/lib/active_record/integration.rb
のdocの修正です。
to_param
メソッドのdocのexampleで、テストデータにDHHの名前を使用しているのですが、取得する際の名前をDavid HeinemeierHansson
からDavid Heinemeier Hansson
に修正しています。タイポの修正。
File encoding is defaulted to utf-8 in Ruby >= 2.1
各ファイルの先頭からencodingを指定したマジックコメントを削除しています。masterブランチはRubyのバージョンを2.2.2以上でしか使用出来ないので、もうencodingの指定が不要の為のようです。以前、同じ対応が行われたような記憶が。
activesupport/lib/active_support/core_ext/string/output_safety.rb
のdocの修正です。
JQuery
-> jQuery
にタイポを修正しています。
Corrected to_time
output in ActiveSupport Date Conversion docs.Since https://github.com/rails/rails/commit/48583f8bf74d1cefefea3cd6591bd546a9eaff6c, to_time returns times formatted as YYYY-MM-DD HH:MM:SS UTC [ci skip]
activesupport/lib/active_support/core_ext/date/conversions.rb
のdocの修正です。
Date#to_time
メソッドのdocのexampleが、実際の実行結果と異なっていたのを修正しています。