Ryo Nakamura
Ryo Nakamura
When I tried to upgrade Ruby version from 2.6 to 2.7, I had a problem with `FrozenError` from `#nested_form_for`. `capture` may return `nil`, and `nil.to_s` is frozen from Ruby 2.7....
This fixes the following warnings that are printed when using this gem with Ruby 2.7.: ``` /home/ubuntu/foo/vendor/bundle/ruby/2.7.0/gems/acts_as_commentable-4.0.2/lib/commentable_methods.rb:58: warning: Using the last argument as keyword parameters is deprecated; maybe ** should...
Resolve https://github.com/rails/rails/issues/43728. I changed the Content-Type parser as I originally tried to do at https://github.com/rails/rails/pull/35549#discussion_r263994946 to allow charset to appear in any order.
In my Rails 6 app, I tried to return CSV data with header as a response like this: ```ruby class MyController < ApplicationController def show send_data( csv_with_header, type: "text/csv; charset=utf-16;...
## Background As I discussed at the following thread, I would like to add 3rd party template language plugins support to RuboCop. - https://github.com/rubocop/rubocop/discussions/10768 ## Changes To support template languages,...
### Describe the bug I haven't been able to investigate this in detail, but isn't it strange that the result of the `gh pr list` command changes depending on the...
It would be nice to have a new cop similar to the `Style/ClassCheck` cop. - https://docs.rubocop.org/rubocop/cops_style.html#styleclasscheck --- Before submitting the PR make sure the following are checked: * [x] Feature...
## Is your feature request related to a problem? Please describe. I would like to have CLI options to autocorrect offenses by specifying a source code range like this: ```...
Although the explicit style is recommended by default, some users may prefer the implicit style. For such users, it would be better if there is an option to make the...
In many Rails apps, I often see test code like `RSpec.describe MyModel, type: :model` even though `config.infer_spec_type_from_file_location!` is enabled. This makes it difficult to distinguish whether they are being overwritten...