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に追記しています。