2014/06/07分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Restore test deliveries properly in ActionMailer.
actionmailer/lib/action_mailer/test_case.rbの修正です。
テスト終了時に、ActionMailer::Base.delivery_method、ActionMailer::Base.perform_deliveriesを元の値に戻すよう修正しています。
Restore I18n.locale to default after test.
actionmailer/test/i18n_with_controller_test.rbの修正です。
テスト終了時に、I18n.localeを元の値に戻すよう修正しています。
remove rubyforge.org that was shut down [ci skip]
rubyforge.orgの終了に伴い、各ドキュメントのrubyforge.orgのリンクを修正しています。
Don't mess with _before_type_cast for numeric types
activerecord/lib/active_record/type/numeric.rbの修正です。
処理が少し煩雑になっていたのを修正しています。
- def type_cast_for_write(value) - case value - when true then 1 - when false then 0 - when ::String then value.presence - else super - end + def type_cast(value) + value = case value + when true then 1 + when false then 0 + when ::String then value.presence + else value + end + super(value)
整理だけかと思えば、微妙に処理に変更が。
Revert "Merge pull request #15550 from sgrif/sg-numeric-types"
直ぐ上のコミットをrevertしています。numeric attributeに空の値を渡した時の挙動が変わってしまったので、revertとの事です。
eliminate wasteful AS::SafeBuffer allocation
actionpack/lib/action_controller/metal/redirecting.rbの修正です。
hメソッドを使用している箇所をunwrapped_html_escapeに修正しています。不要なSafeBufferオブジェクトを生成させない為ですね。
remove another wasteful AS::SafeBuffer allocation
actionpack/lib/action_dispatch/routing/redirection.rbの修正です。
こちらもhメソッドを使用している箇所をunwrapped_html_escapeに修正しています。
Don't mess with _before_type_cast for numeric types
activerecord/lib/active_record/type/numeric.rbの修正です。
先ほどrevertされたコミットを修正して、再度コミットしています。
Remove composed_of special case from multi-parameter attributes
activerecord/lib/active_record/attribute_assignment.rbとactiverecord/lib/active_record/aggregations.rbの修正です。
columnからklassメソッドを削除するよう作業していくとの事で、その一環のようです。
eliminate more wasteful allocations
actionview/lib/action_view/helpers/url_helper.rbの修正です。
html_escapeをunwrapped_html_escapeに修正しています。
Removed unused klass definitions from types
ActiveRecordのtypeクラスの修正です。
使用していないklassメソッドを削除しています。
actionview/lib/action_view/helpers/output_safety_helper.rbの修正です。
html_escapeをunwrapped_html_escapeに修正しています。
各docの修正です。
Nginx -> NGINXに修正しています。
Merge branch 'master' of github.com:rails/docrails
rails guideのA Guide to Testing Rails Applicationsの修正です。
fixtureにおけるidの取り扱いについて説明を追加しています。
rails guideの修正です。細かい修正をば。
Revert "Convert StrongParameters cache to a hash. This fixes an unbounded"
StrongParametersをHashにcacheするよう対応したこのコミットをrevertしています。
keyの値がミュータブルでキャッシュする事が出来ないから、との事です。
adds a regression test for the strong params converted arrays cache
actionpack/test/controller/parameters/parameters_permit_test.rbの修正です。
array cacheに関するテストを追加しています。
adds some details to the rationale of converted_arrays [ci skip]
actionpack/lib/action_controller/metal/strong_parameters.rbのdocの修正です。
converted_arraysメソッドについての説明を追加しています。
Add array support when time zone aware attributes are enabled
activerecord/lib/active_record/attribute_methods/time_zone_conversion.rbの修正です。
PostgreSQL のarray columnsを使用している場合に、TimeZoneが反映されなかっったバグを修正しています。。
Don't query the database schema when calling serialize
ActiveRecordの修正です。serializeメソッドを呼び出した際に。DBにqueryが発行されないよう修正しています。
ActiveRecordのConnectionAdaptersの修正です。
propertyをattributeに変更しています。
changelog for #15556 and credit @kuldeepaggarwal [Kuldeep Aggarwal]
activerecord/CHANGELOG.mdの修正です。
Add array support when time zone aware attributes are enabledについて、CHANGELOGに追記しています。