Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activestorage debug #1

Open
wants to merge 474 commits into
base: main
Choose a base branch
from
Open

activestorage debug #1

wants to merge 474 commits into from

Conversation

miquelbarba
Copy link
Owner

jlestavel and others added 30 commits January 20, 2022 02:21
* Document that @rails/ujs is deprecated for `button_to`

This was missed in rails#43112

* deprecation needs to go below the examples
…ion-note

Adds webpacker retired note to the webpacker guide [ci skip]
…e_update_checker-gc-test

Fix flakey EventedFileUpdateChecker GC test
Improve upgrade instructions for Bootsnap [ci-skip]

(cherry picked from commit 65e4e4e)
…e-core-ext-require

Fix missing require of reverse_merge extension
…ciated

Improve associated with no reflection error
fix que integration in Active Job tests
After rails#43859, the constants were being registered to be eagear loaded
but the eager load was not being called on it, so they were still being
required at runtime.
Use released version of pg 1.3
fix que integration in Active Job tests part 2
Fixes a typo in the ActiveRecord encryption documentation

[ci-skip]
…defined-by-record-association

Fix error when saving an association with a relation named record
…ery-batch

abandon_results! after every multi statement batch
Address ActionView::Template::Error at CI
* Revert "Pass service_name param to DirectUploadsController"

This reverts commit 193289d.

* Revert "Multi-service direct uploads in Action Text attachment uploads"

This reverts commit 0b69ad4.
…ault

update default active storage processor [ci skip]

(cherry picked from commit 77131ea)
Decoration is normally a use case for applications. Therefore we only need the
example for zeitwerk mode nowadays.
Add turbolinks=false on links to older guides
…lumn

Fix parsing expression for PostgreSQL generated column
Dump the database schema containing the current Rails version
…pted-fields-hook-twice

Setup on_encrypted_attribute_declared hook only once
Dump the precision for datetime columns following the new defaults
tenderlove and others added 30 commits April 26, 2022 12:32
Add missing info for `change` column and table comment in Guides [ci-skip]

(cherry picked from commit bc9fa03)
…ite-of-cookie

Add API doc for the `same_site` option of the `cookie` [ci-skip]

(cherry picked from commit 29daa0b)
…unnamed-binds

activerecord: Backport sql log for unnamed binds fix
…nto_place_in_7_0_release_notes__ci_skip_

Put Active Record changes into place in 7.0 release notes [ci-skip]
Simplify regex detecting comments in sql query
Update RDoc comments for #redirect [ci-skip]

(cherry picked from commit 625126a)
Clarify to users what objects may be cached, and highlight the option used to cache default non-serializable data.

Purpose: Improving new-to-Rails users' experience, as this detail may not be obvious, costing them time and effort spent debugging.

Co-authored-by: Hartley McGuire <skipkayhil@gmail.com>
Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
(cherry picked from commit de12c18)
Document `uses_transaction` [ci-skip]

(cherry picked from commit 74cd04d)
Document action mailer rescue_from [ci-skip]

(cherry picked from commit e4ec2cb)
…d-querying

Doc: fix of name attribute [ci-skip]
(cherry picked from commit 8bc187d)
Fix disabling strict_loading when enabled by default
…ict-loading-polymorphic-associations

Raise StrictLoadingViolationError with polymorphic relation violations
Fix link to Thor's docs [ci-skip]

(cherry picked from commit 8dce413)
These tests were copied over from `main` in a1fbc46, however this
feature is only present in `main` which was causing the tests on
7-0-stable to fail.
In Psych >= 4.0.0, load defaults to safe_load. This commit
makes the ActiveRecord::Coders::YAMLColum class use Psych safe_load
as the Rails default.

This default is configurable via ActiveRecord.use_yaml_unsafe_load

We conditionally fallback to the correct unsafe load if use_yaml_unsafe_load
is set to true. unsafe_load was introduced in Psych 4.0.0

The list of safe_load permitted classes is configurable via
ActiveRecord.yaml_column_permitted_classes

[CVE-2022-32224]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet