Results 21 issues of Wiktor Plaga

### Problem I have a gem with the following code: ``` # whatever/whatever.gemspec Gem::Specification.new do |spec| # ... # ... spec.files = Dir['{app,lib}/**/*', 'CHANGELOG.md', 'LICENSE.md', 'README.md'] spec.add_dependency('rails') spec.add_dependency('data_migrate') # ......

It would be very helpful if there was a documented usage of `ActiveFlag` with [`insert_all`](https://apidock.com/rails/v6.0.0/ActiveRecord/Persistence/ClassMethods/insert_all) new to the Ruby on Rails 6. Consider the following dummy example of `db/seeds.rb`, where...

question

See: https://stackoverflow.com/questions/69898244/cannot-statically-analyse-require-in-line-16 **Problem:** When importing markdown-toc in nextjs I am getting the issue. /pages/index.js `import toc from "markdown-toc";` Then I got the below error > ./node_modules/markdown-toc/lib/utils.js > Cannot statically analyse...

As of right now, it is only possible to set `enabled={false}` on the whole component. I would like to have one of two: - ability to disable stars at given...

enhancement
help wanted

The CLI output of the `diffy` does not show whitespace at the end of the diff line ![image](https://user-images.githubusercontent.com/16985871/93665113-522c3280-fa74-11ea-8b2c-d0c16fdf3e43.png)

**Describe the bug** The title. 2 days ago I published [this article](https://dev.to/hixdev/453-ways-to-configure-your-new-nextjs-project-514p) via API, and it was missing the last 6 images: ![image](https://github.com/forem/forem/assets/16985871/700c81a4-2f7f-4acc-96b7-9fddee40b6a3) I had to edit manually, and then...

bug

Hey, here's [a nice thing I found in other open-sourced gem `knapsack`](https://github.com/KnapsackPro/knapsack/blob/master/lib/knapsack/config/env.rb#L13-L15) ``` def ci_node_index gitlab_ci_node_index || ENV['CI_NODE_INDEX'] || ENV['CIRCLE_NODE_INDEX'] || semaphore_job_index || semaphore_current_thread || ENV['BUILDKITE_PARALLEL_JOB'] || snap_ci_worker_index || ENV['BITBUCKET_PARALLEL_STEP']...

## Is your feature request related to a problem? Please describe. `Performance/RedundantMerge`, that's unsafe-autocorrectable, suggests that I should: > Use `accumulator[:low] = true` instead of `accumulator.merge!(low => true)`. on the...

## Is your feature request related to a problem? Please describe. When I use **advanced** memoization techniques in a helper method, it gets flagged by Rails/HelperInstanceVariable. ## Describe the solution...

I'd like to be able to do the following: ``` { long_string_content: "This is a very long string that I want to display in a literal block in my YAML...