Bob Forma
Bob Forma
`.dup` before `.force_encoding` Calling `.force_encoding` on a frozen String raises a 'FrozenError: can't modify frozen String'. This can be mitigated by making a copy before calling `.force_encoding` on that String.
Usage: ```ruby class MyCommandMiddleware def call(command) # ... yield end end Sequent.configure do |config| config.command_middleware.add(MyCommandMiddleware.new) end ``` The middleware chain is invoked for each command passed to `Sequent.configuration.command_service.execute_commands(...)`.
Possible fix is to rescue all errors and re-raise as a `Grape::Exceptions::Validation`. ``` module Grape module Validations class AsValidator < Base def initialize(attrs, options, required, scope, opts = {}) @renamed_options...
I often have multiple browser tabs open with GoodJob Dashboard page from different Rails environments (ie. development and production). It would be great if I could somehow easily distinguish between...
We have `config.good_job.preserve_job_records = false` configured, however in the good job UI I still see succeeded jobs being preserved. It seems this is only the case for jobs that have...