Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Please add instance methods for 4 items #84

Closed
jasnow opened this issue Jul 15, 2019 · 2 comments
Closed

Please add instance methods for 4 items #84

jasnow opened this issue Jul 15, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@jasnow
Copy link
Contributor

jasnow commented Jul 15, 2019

Please add instance methods for:

  • ActiveStorage::Attachment
  • ActiveStorage::Blob
  • ActionMailbox::InboundEmail
  • ActionText::RichText

Versions:

  • Ruby: 2.4.6, 2.6.3
  • Rails: 5.2, 6.0, 6.1
  • Sorbet: Sorbet typechecker 0.4.4435
  • Sorbet-Rails: 0.4.0

Thanks

@jasnow jasnow added the bug Something isn't working label Jul 15, 2019
@jasnow
Copy link
Contributor Author

jasnow commented Jul 16, 2019

You get 2 of the above missing instance methods by run "rake" on this repo:

........-- Generate sigs for Potion --
.-- Generate sigs for Wizard --
.-- Generate sigs for Wand --
.-- Generate sigs for Wizard --
../Users/USER/Projects/sorbet-rails/lib/sorbet-rails/tasks/rails_rbi.rake:43: warning: class variable access from toplevel
-- Generate sigs for ActiveRecord::SchemaMigration --
Note: Unable to create new instance of ActiveStorage::Attachment
-- Generate sigs for ActiveStorage::Attachment --
Note: Unable to create new instance of ActiveStorage::Blob
-- Generate sigs for ActiveStorage::Blob --
-- Generate sigs for Wizard --
-- Generate sigs for Potion --
-- Generate sigs for Wand --
-- Generate sigs for SpellBook --
-- Generate sigs for ActiveRecord::InternalMetadata --
./Users/USER/Projects/sorbet-rails/lib/sorbet-rails/tasks/rails_rbi.rake:43: warning: class variable access from toplevel
-- Generate sigs for Wizard --
./Users/USER/Projects/sorbet-rails/lib/sorbet-rails/tasks/rails_rbi.rake:43: warning: class variable access from toplevel
-- Generate sigs for Wizard --
-- Generate sigs for SpellBook --
....../Users/USER/Projects/sorbet-rails/lib/sorbet-rails/tasks/rails_rbi.rake:43: warning: class variable access from toplevel
-- Generate sigs for ActiveRecord::SchemaMigration --
Note: Unable to create new instance of ActiveStorage::Attachment
-- Generate sigs for ActiveStorage::Attachment --
Note: Unable to create new instance of ActiveStorage::Blob
-- Generate sigs for ActiveStorage::Blob --
-- Generate sigs for ActiveRecord::InternalMetadata --
-- Generate sigs for Wizard --
-- Generate sigs for Potion --
-- Generate sigs for Wand --
-- Generate sigs for SpellBook --

@jasnow
Copy link
Contributor Author

jasnow commented Jul 17, 2019

Pruning

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant