2015/01/14分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #18471 from ahmad-alkheat/master
rails guideのActive Record Query Interface
の修正です。
find_by
メソッドのexampleに、実際生成されるSQLのexampleを追加しています。
Set all asset options together
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
の修正です
config.action_controller.asset_host
オプションの位置をずらして、asset関係のオプションを近くにまとめています。
Show how to change the queuing backend for ActiveJob in production
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
の修正です。
config.active_job.queue_adapter
、config.active_job.queue_name_prefix
のサンプルを追加しています。
Stop promoting rack-cache usage at the moment (not so common or important to deserve that billing)
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
の修正です。
config.action_dispatch.rack_cache
オプションを削除しています。
rack-cache
は一般的ではないし、そんなに重要でも無いから、との事です。
Add missing time zone definitions for Russian Federation
activesupport/lib/active_support/values/time_zone.rb
の修正です。
TimeZone
クラスに不足していたタイムゾーンを追加しています。
追加されたのは、Kaliningrad(Europe/Kaliningrad)
、Samara(Europe/Samara)
、Srednekolymsk(Asia/Srednekolymsk)
で、
合わせて、Volgograd
の値がEurope/Moscow
-> Europe/Volgograd
に修正されています。
Add the method_source
gem to the default Gemfile
railties/lib/rails/generators/rails/app/templates/Gemfile
の修正です。
生成されるGemfileにmethod_source
が追加されています。
これは、DHHがソースコードを見るメソッドが欲しいというissueを作成し、それなら自前で実装するより、
method_source
使えば良くない? という事で追加されたとの事です。
Merge pull request #18476 from Alamoz/scaffold_index_view_grammar
railties/lib/rails/generators/erb/scaffold/templates/index.html.erb
の修正です。
生成されるindex.html.erb
からh1タグにあった"Listing"が削除されています。
-<h1>Listing <%= plural_table_name.titleize %></h1>
+<h1><%= plural_table_name.titleize %></h1>
Guides: Removing reference to blog that is not updated anymore [ci skip]
rails guideのRuby on Rails Security Guide
の修正です。
参考URLからhttp://www.rorsecurity.infoを削除しています。もうメンテされてないから、との事。
Fix form_for guide binding a form to an object.
rails guideのForm Helpers
の修正です。
form_for
メソッドで生成されるHTMLのexampleに誤りがあったのを修正しています。
Merge pull request #18478 from yoshiokatsuneo/active_record_connection_pool_error_disconnect
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
の修正です。
checkout_and_verify
メソッドでエラーが起きた際、すべてのコネクションを切断するのではなく、エラーが起きたコネクションだけ切断するよう修正しています。
- disconnect! + remove c + c.disconnect!
railties/lib/rails/railtie.rb
のdocの修正です。
"load" -> "loads"に修正しています。
fix link in autoloading guide [ci skip]
rails guideのAutoloading and Reloading Constants
の修正です。
ページ内リンクのパスが誤っている箇所があったのを修正しています。
- Changed IN
to ON
in markdown renderer condition
guides/rails_guides/markdown/renderer.rb
及び各guideの修正です。
guideの先頭に表示しているwarningメッセージのグラマーの修正です。"IN"を"ON"に修正しています。
-**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.** +**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
Extract Date
header to string constant in Http Response, similar to other headers
actionpack/lib/action_dispatch/http/cache.rb
の修正です。
Date
headerだけ定数で管理していなかったのを、他のheaderのkeyと同様に定数で管理するよう修正しています。
require 'rails' if not include_all_railties, just as 'rails/all' does
railties/lib/rails/generators/rails/app/templates/config/application.rb
の修正です。
include_all_railties?
がfalseの際に、rails
をrequireするよう修正しています。
Fix typo in ActionView CHANGELOG [ci skip]
actionview/CHANGELOG.md
の修正です。
"rended" -> "rendered"にタイポを修正しています。
Changed "in GitHub" to "on GitHub" [ci skip]
CONTRIBUTING.md
、guides/source/contributing_to_ruby_on_rails.md
の修正です。