You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.
Describe the bug:
I have a non-database backed model that is including ActiveModel::Model. When I run either bundle exec rails_rbi:all and/or bundle exec rails_rbi:models, no .rbi file is generated for my class.
Steps to reproduce:
Create a non-ActiveRecord class in your models folder and have it include ActiveModel::Model
Generate rbi files using bundle exec rails_rbi:all
Note that no new rbi file is generated
Expected behavior:
It would generate a new rbi file
Versions:
Ruby: 2.6.6p146
Rails: 6.0.3.2
Sorbet: 0.5.5909
Sorbet-Rails: 0.7.1
The text was updated successfully, but these errors were encountered:
Describe the bug:
I have a non-database backed model that is including
ActiveModel::Model
. When I run eitherbundle exec rails_rbi:all
and/orbundle exec rails_rbi:models
, no .rbi file is generated for my class.Steps to reproduce:
include ActiveModel::Model
bundle exec rails_rbi:all
Expected behavior:
It would generate a new rbi file
Versions:
The text was updated successfully, but these errors were encountered: