2024/12/06åã®ã³ãããã§ãã
CHANGELOGã«ã®ã£ãã³ãããã¯ä»¥ä¸ã®éãã§ãã
activejob/CHANGELOG.md
Merge pull request #53364 from stevegeek/optimistic_locking_error_handling_with_version_nil
activerecord/lib/active_record/locking/optimistic.rb
ã®ä¿®æ£ã§ãã
optimistic lockç¨ã®ã«ã©ã ãnil
ã§æ´æ°ãããã¨ããã¨ãã«ãNoMethodError
ã«ãªã£ã¦ãã¾ã£ã¦ããã®ããé©åãªã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ãããããä¿®æ£ãã¦ãã¾ãã
all_open_transactions
should not include invalidated transactions
activerecord/lib/active_record.rb
ã®ä¿®æ£ã§ãã
all_open_transactions
ã«invalidatedã«ãªã£ãtransactionã¯å«ã¾ãªãããä¿®æ£ãã¦ãã¾ãã
[RF-DOCS] Action Controller Overview and Advanced Topics Guides [ci-skip] (#53551)
Action Controller Advanced Topics
ã¨ããcontrollersã«é¢ããå°ãé«åº¦ãªå
容ã説æããguideã追å ãã¦ãã¾ããCSRFã«ã¤ãã¦ãããã¡ã¤ã«ã®ãã¦ã³ãã¼ãå¦çãã¨ã©ã¼ã®ãã³ããªã³ã°æ¹æ³ã«ã¤ãã¦çã®èª¬æãè¨è¼ããã¦ãã¾ãã
Don't wrap redis in ConnectionPool if already given one for ActiveSupport::Cache::RedisCacheStore
activesupport/lib/active_support/cache.rb
ã
activesupport/lib/active_support/cache/redis_cache_store.rb
ã®ä¿®æ£ã§ãã
ActiveSupport::Cache::RedisCacheStore
ã§ã:redis
ã«ConnectionPool
ã§wrapãããRedisã®ã¤ã³ã¹ã¿ã³ã¹ãæå®ãããå ´åãConnectionPool
ã§ã®wrapå¦çãè¡ããªãããä¿®æ£ãã¦ãã¾ããæ¢ã«ConnectionPool
ãè¨å®ãã¦ä½¿ã£ã¦ããRedisã®ã¤ã³ã¹ã¿ã³ã¹ãRedisCacheStore
ã§ä½¿ãåããããã«ããçºã
Address ActiveRecord::InstrumentationTest#test_payload_connection_with_query_cache_enabled
failure
activerecord/test/cases/instrumentation_test.rb
ã®ä¿®æ£ã§ãã
query_cache
ãæå¹ã«ãã¦ããå ´åã®notificationã«é¢ãããã¹ããfailããããã«ãªã£ã¦ããã®ãä¿®æ£ãã¦ãã¾ãã
Merge pull request #53845 from joshuay03/prevent-double-wrapped-redis-connection-pool-by-default
Accept a block for ActiveJob::ConfiguredJob#perform_later
activejob/lib/active_job/configured_job.rb
ã®ä¿®æ£ã§ãã
ActiveJob::ConfiguredJob#perform_later
ã«blockãæå®åºæ¥ãããä¿®æ£ãã¦ãã¾ããActiveJob::Base#perform_later
ã¨æåãåãããçºã