Yaroslav
Yaroslav
Method `absence_in` complements existing `presence_in` and can be used to check for absence on the blacklist . ### Motivation / Background Existing method `Object#presence_in` can be used for whilelisting: ```ruby...
Seems like something breaks on the latest version: ``` == Compilation error in file lib/mix/utils/stale_compatible.ex == ** (ArgumentError) record :module does not have the key: :module (elixir 1.16.0) lib/record.ex:423: Record.create/4...
We use custom classes (value objects) to represent application-level locales: ```ruby # frozen_string_literal: true class Locale attr_reader :code delegate :to_sym, to: :code def self.[](code) new(code: code) end def initialize(code:) @code...
### Description The following code breaks syntax highlighting feature: ```ruby # frozen_string_literal: true def do_test _h = { a: 1, b: 2 } Kernel.`"cat /bin/false" { a: 1, b: 2...
Althrough `MethodDefinitionInTask` cop does a good job ignoring method definitions in classes/modules, it does not detect `Data` methods: ```ruby # some rake task Data.define(:data) do def some_helper_method # Rake/MethodDefinitionInTask complains...
## Expected behavior I'm not sure if this is prism's or rubocop's issue, didn't find any related issues Consider the following heredoc ```ruby
### Steps to reproduce Currently ActionMailer's `*_delivery` callbacks do not support `only` and `except` filters, which are quite useful because some callback actions are required for a subset of mailer...
[This commit ](https://github.com/rails/rails/commit/0c76f17f2dbf0d7ad90c890e6f334743cacce41f) deprecated `config.read_encrypted_secrets` but, surprisingly, deprecation used back-ticks instead of normal quoting (which leads to excuting string payload via shell). ### Motivation / Background ``` pry(main)> Rails::VERSION::STRING "7.2.0.alpha"...
Hi there! We tried to migrate from `1.18.1` to `1.20.1` and encountered increased error rate during downloading huge (~1GB) files. I've published an MRE: https://gist.github.com/viralpraxis/6209746ee3b108473452ee810678f769 You can run it via...
Hey! I believe it would be beneficial to have a no-op implementation of PrometheusExporter::Client for use in test environments. This would allow us to avoid sending metrics during tests while...