Jairo Vazquez
Jairo Vazquez
I'd be good to have a public API to delete a file from this hash, right now I'm doing this ```ruby MethodSource.instance_variable_get(:@lines_for_file).delete(absolute_path) ``` but it feels kind of weird 🤔,...
@amatsuda thanks for taking the time to review this. It's funny that after having this fix running for a few days in our rails app my team and I decided...
Hi @amatsuda! I'd like to continue working on these changes, please let me know your comments when you get a chance 👌🏼 Thanks for your time 😃
Not exactly what you're trying to achive @terenceponce, but I prevent records from transitioning to an invalid `state` through `#create` or `#update` methods in this PR https://github.com/amatsuda/stateful_enum/pull/49
This is what I ended up doing in order to scope my tables by multiple tenants https://github.com/rails/rails/pull/40720#issuecomment-737528171
FYI guys, I'm getting same warning message and I think it's related to how AR handles relationships between models plus `default_scope`, I have these models ```ruby class Study < ApplicationRecord...
I added an index on `delayed_jobs(priority,run_at)` and switched to the `default_sql` strategy, which is pretty stable now with about 1M records. ```ruby Delayed::Backend::ActiveRecord.configuration.reserve_sql_strategy = :default_sql ```
It was MySQL, but I ended up building a hybrid between DelayedJob and Sidekiq, wrote a small rake task that grabs jobs from the `delayed_jobs` table in batches of 1_000,...
Just my two cents. I got this error on a M1 Pro machine, and this is what I did. - I upgraded MySQL with `brew upgrade mysql`, and it installed...