Petrik de Heus

Results 64 issues of Petrik de Heus

Splits the examples for `#clone` into separate sections for easier scanability. Adds examples to `#dup` to clarify the difference with `#clone`. ### Checklist Before submitting the PR make sure the...

activerecord

### Motivation / Background The documenation of `ActiveRecord::Core.configurations=` [reads](https://edgeapi.rubyonrails.org/classes/ActiveRecord/Core.html#method-c-configurations-3D) like the documentation for the getter instead of the setter. It should not describe what is returned, but what arguments are...

activerecord

### Checklist Before submitting the PR make sure the following are checked: * [x] This Pull Request is related to one change. Changes that are unrelated should be opened in...

actiontext

### Summary `ActiveSupport::ParameterFilter` currently works as a deny list: you specify the parameters that should be filtered. ```ruby Rails.application.config.filter_parameters += [:passw] ``` If you want use an allow list and...

actionpack
activerecord
activesupport
railties

With the M:N thread scheduler thread creation and management cost are reduced. Waiting for the initial run on the new servers so we can compare if this improves things.

With the M:N thread scheduler thread creation and management cost are reduced.

Decrease the KB_PER_WORKER as this is a small application. Puma threads should not be more than 32 threads, but this might even be decreased more: +--------+---------+------+------+-----+-----+-------+--------------+ |threads |plaintext|update| json| db|query|fortune|weighted_score|...

This pull request includes a - [ ] Bug fix - [ ] New feature - [ ] Translation The following changes were made - This replaces jQuery's `attr` function...

enhancement
4.x
status: pending PR merge

Besides processing images it would be nice to analyze images as well to get metadata like: width, height and rotation. This is currently based on the ActiveStorage::Analyzer::ImageAnalyzer. I'd like to...

Ruby 3.2 removed the deprecated `File.exists?` and now Sunspot raises the following error on Ruby 3.2: > NoMethodError: undefined method `exists?' for File:Class #1016 fixes this by replacing `File.exists?` with...