Takeshi KOMIYA

Results 51 issues of Takeshi KOMIYA

As far as I know, Steep does not support type checking Gemfile. Therefore it's not good to use `Gemfile` as an example for specifying specific file. This replaces it with...

`Arel::FactoryMethods#cast` was added since v7.1 refs: https://github.com/rails/rails/pull/48873

We need to call "extend ClassMethods" manually to add `Rails::Railties.initializers`.

As a preparation of https://github.com/ruby/gem_rbs_collection/pull/693, this moves the definition of `Rails::Generator::PluginGenerator#app_path` to railties.rbs

`ActiveRecord::QueryMethods::WhereChain#associated` has been added since v7.0. refs: https://github.com/rails/rails/pull/40696

ActiveModel::API has been added since v7.0. refs: https://github.com/rails/rails/pull/43223

Since v1.67.0, the `AllowRBSInlineAnnotation` config option has been added to the `Layout/LeadingCommentSpace` cop. It is necessary to annotate types in Ruby code via [RBS::Inline](https://github.com/soutaro/rbs-inline). RBS::Inline is a pilot project of...

For example, `Array[Integer]` can take other number types validly: ``` > [1, 2, 3].include? 2.0 => true > [1, 2, 3].include? Complex(2) => true > [1, 2, 3].include? Rational(2) =>...

This implements the minimal version of user-defined type guard method. A user-defined type guard methos is a method defined by user that is able to guarantee the type of the...

ERB is a widely used template library in Ruby. It is adopted as the default view library in Ruby on Rails. It is one of the popular template libraries in...