tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

The swiss army knife of RBI generation

Results 187 tapioca issues
Sort by recently updated
recently updated
newest added

Currently we ignore tapioca configuration by doing https://github.com/Shopify/tapioca/blob/c3a1a73b5ad3769a6ab8b987c7d6f34167d6053a/lib/ruby_lsp/tapioca/server_addon.rb#L29

Hi I'm having this error initializing Tapioca with command: ``` bundle exec tapioca init ``` Error: ``` ➜ bundle exec tapioca init identical sorbet/config identical sorbet/tapioca/config.yml identical sorbet/tapioca/require.rb force bin/tapioca...

help-wanted

I'm running into this with [the `money` gem](https://github.com/RubyMoney/money/blob/v6.19.0/lib/money/money.rb#L315-L341): ```ruby # .rb class Money class

help-wanted

Given classes like this ``` class Operation abstract! sig { abstract.void } def save!; end end class OperationJob < Active::Job extend T::Sig extend T::Generic abstract! OperationType = type_member { {...

help-wanted

We just noticed that the functionality added in #1418 isn't working in our Rails app (which uses Rake). The culprit appears to be [this line](https://github.com/alex-tan/tapioca/blob/7bb45aeef5729baa8362a310cb0c0122da39941f/lib/tapioca/dsl/pipeline.rb#L232) When running debugger: ```ruby (ruby)...

help-wanted

I'm trying to build an app that doesn't require all of Rails but only specific parts, e.g. `activerecord`. According to its [gem spec](https://github.com/rails/rails/blob/986d7dfe372430dabd95f71db2e1573b22e2b069/activerecord/activerecord.gemspec#L38-L40) it only depends on `activesupport` and `activemodel`...

If I understand correctly, I think it is currently as follows ```rb # NG Article.find_by_id(target_id) # -> error: find_by_id not found # OK Article.find_by(id: target_id) # -> no error ```...

help-wanted

In our codebase, when the Tapioca addon for Ruby LSP regenerates RBI after a routes change, three of the RBI files are missing some definitions. Specifically: - `sorbet/rbi/dsl/application_controller.rbi` is missing...

I've discussed this with @andyw8 on Slack. I'm working on a Rails application that uses Sorbet and Tapioca. Using `Time.now.rfc3339` in the app introduced a Sorbet error: ``` app/jobs/dead_translations/snapshot_job.rb:190: Method...

help-wanted

I haven't verified this yet, but @paracycle told me that if one gem defines a method, and another gem overrides that method via a prepend, the prepended method will be...

bug
help-wanted