2020/02/22分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actionmailbox/CHANGELOG.md
Replace Mailgun API key with signing key
actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb
の修正です。
Rails.application.credentials.action_mailbox.api_key
と MAILGUN_INGRESS_API_KEY
がdeprecateになりました。かわりに、今後はRails.application.credentials.action_mailbox.signing_key
と MAILGUN_INGRESS_SIGNING_KEY
を使用する必要があります。
Mailgunの受信メールの検証に、API keyではなくSigning keyが必要になった為。
Avoid implying that #results
selector will only match a div
element
rails guideのWorking with JavaScript in Rails
の修正です。
An Introduction to Ajax
の項にあるexampleコードについて説明している箇所が、実際のコードと内容と異なっていた(すべてのelementに一致する処理だったのに、div
にだけ一致する旨説明が記載されいた)のを修正しています。
Support strict_loading on association declarations
Active Recordの修正です。
strict_loading
をメソッドだけではなく、association定義時に指定出来るよう対応しています。
class Developer < ApplicationRecord has_many :projects, strict_loading: true end dev = Developer.first dev.projects.first # => ActiveRecord::StrictLoadingViolationError: The projects association is marked as strict_loading and cannot be lazily loaded.