Active Support
-
Ensure
MemoryStore
disables compression by default. Reverts behavior of
MemoryStore
to its prior rails5.1
behavior.Max Gurewitz
Active Model
- No changes.
Active Record
-
Fix odd behavior of inverse_of with multiple belongs_to to same class.
Fixes #35204.
Tomoyuki Kai
-
Build predicate conditions with objects that delegate
#id
and primary key:class AdminAuthor delegate_missing_to :@author def initialize(author) @author = author end end Post.where(author: AdminAuthor.new(author))
Sean Doyle
Action View
-
Change form_with to generate non-remote forms by default.
form_with
would generate a remote form by default. This would confuse
users because they were forced to handle remote requests.All new 6.1 applications will generate non-remote forms by default.
When upgrading a 6.0 application you can enable remote forms by default by
settingconfig.action_view.form_with_generates_remote_forms
totrue
.Petrik de Heus
Action Pack
-
Support for the HTTP header
Feature-Policy
has been revised to reflect
its rename toPermissions-Policy
.Rails.application.config.permissions_policy do |p| p.camera :none p.gyroscope :none p.microphone :none p.usb :none p.fullscreen :self p.payment :self, "https://secure-example.com" end
Julien Grillot
Active Job
- No changes.
Action Mailer
- No changes.
Action Cable
- No changes.
Active Storage
-
Implement
strict_loading
on ActiveStorage associations.David Angulo
Action Mailbox
- No changes.
Action Text
- No changes.
Railties
- No changes.