Maxime Réty

Results 8 issues of Maxime Réty

I took the liberty of correcting some documentation issues here: https://github.com/your-tools/tsrc/pull/358 While doing so, I noticed a mismatch between what the cli supports and what the documentation says about the...

Given a `Model` using the soft deletion feature: ```go type Model struct { // [...] DeletedAt *time.Time `bun:",soft_delete"` // previously `pg:",soft_delete"` } ``` #### Previously in [go-pg/pg](https://github.com/go-pg/pg) The query `db.Model((*Model)(nil)).ForceDelete()`...

### Motivation / Background Fixes #50604 This Pull Request fixes a source of incompatibility between the loading order of Active Record Encryption configs and the loading of AR models in...

activerecord
railties

### Description The introduction of `after_initialize` in Active Record Encryption configuration setup in https://github.com/rails/rails/pull/48530 (also see [that discussion in the same PR](https://github.com/rails/rails/pull/48530/files#r1237624233)) is not fully compatible with the eager loading...

activerecord
attached PR

### Issue I noticed some possible inconsistencies while reading the recently added fixes to close dependent databases when closing leveldb databases. I am absolutely not an expert on PouchDB and...

## Bug report for Cloudinary Ruby SDK ## Describe the bug in a sentence or two. When the gem is loaded in a Rails application, it breaks the lazy loading...

Starting from ActiveRecord 7.1, there's a built-in helper equivalent to what `BatchOver` does, let's use it instead of maintaining our own implementation forever. We need to keep `BatchOver` as long...

### Motivation / Background Fixes https://github.com/rails/rails/issues/51242 In ActiveRecord 7.1, a new option was added to [ActiveRecord::Batches#in_batches](https://api.rubyonrails.org/classes/ActiveRecord/Batches.html#method-i-in_batches), `use_ranges: true`, that enables a more efficient way to generate queries from the provided...

activerecord