2014/12/12分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Fix undesirable RangeError by Type::Integer. Add Type::UnsignedInteger. ActiveRecordの修正です。
unsigned_int型のカラムに2147483648以上の値を設定した場合に、RangeError
が発生してしまうバグがあったのを修正しています。
Update guides with info about vendor/assets
rails guideのThe Asset Pipeline
の修正です。
Asset Pipelineを使用している場合、vendor/assets
配下のファイルもasset_path
メソッド経由で取得する必要がある旨説明を追加しています。
Improve the test case introduced by bd0d47e
activerecord/test/cases/calculations_test.rb
の修正です。
昨日コミットされた、polymorphic + pluckを使用した際の処理の修正のコミットのテストコードの整理を行っています。
Add test case for joined pluck
activerecord/test/cases/calculations_test.rb
の修正です。
先の修正でjoin + pluckのテストケースを誤って削除してしまったので、テストケースを追加しています。
Merge pull request #17815 from yuki24/remove-custom-errors-page-section
rails guideのAction Controller Overview
の修正です。
Custom errors page
のセクションを削除しています。
config.exceptions_app = self.routes
を使用すると、ActionController::BadRequest
が500になってしまう問題があり、
今の記述内容を使用するのは、良くない、との事で削除しています。
Make AC::Params.permit_all_parameters thread safe
actionpack/lib/action_controller/metal/strong_parameters.rb
の修正です。
ActionController::Parameters.permit_all_parameters
がThread safeになるよう修正しています。
+ # Returns the value of +permit_all_parameters+. + def self.permit_all_parameters + Thread.current[:action_controller_permit_all_parameters] + end + + # Sets the value of +permit_all_parameters+. + def self.permit_all_parameters=(value) + Thread.current[:action_controller_permit_all_parameters] = value + end
activesupport/lib/active_support/core_ext/module/delegation.rb
のdocの修正です。
"to be" -> "from being"に修正しています。