Carlos Palhares
Carlos Palhares
We're reaching 6.1 now, and this came up. Are there plans to merge this?
My current solution to this is: ```diff - exclusion: { in: [nil] } + length: { minimum: 0, allow_nil: false, message: "can't be nil" } ```
This looks like a duplicate of https://github.com/brianmario/mysql2/issues/1346
@p8 it would as soon as you request to get that variant The variation key is calculated based on the final transformations: https://github.com/rails/rails/blob/v6.1.7.6/activestorage/app/models/active_storage/variation.rb#L39 That means that once these values changed,...
@p8 I believe the referred block is evaluated much before, that's why it has to be deferred to when the variation is needed. Why do you feel it is "magical"?...
> Inferring the methods is less common I think. I'm not sure if I'm following. What do you mean by inferring? In this case, I just extracted the same method...
@p8 I'm still unsure about the problem. `preprocessed` allows you to set a method name within the record, as in [this example](https://github.com/rails/rails/pull/47473/files#diff-ab7586f0c5183049d93c6d62d45e693842d98518a5f94a493fdfcf8e6e8ae87eR180) where it points to `should_preprocessed?`.
@p8 I noticed that there is no sufficient documentation for the named variants. Neither on `ActiveStorage::Attached::Model`, `ActiveStorage::NamedVariant`, or on `ActiveStorage::Reflection::HasAttachedReflection`. I'll leave any more documentation to another PR, but added...
Good morning. Thanks for the good job on `qacode-terminal`. Any chance this could be fixed soon? As @yeldiRium said: > the invalid SPDX expression makes license compatibility checks harder than...