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

```rb class Foo include ActiveModel::Model attribute :name, :string validates :name, presence: true end ``` Under normal circumstances, `Foo#name` should never be nil. Yes, it's possible to get a nil like...

The idea would be to add a way to express the Sorbet type for attributes. Example model: ```rb class Foo include ActiveModel::Model attribute :model validates :model, presence: true, type: T.class_of(ApplicationRecord)...

I [originally reported](https://ruby-dx.slack.com/archives/C050D17S6FP/p1741782380578439) this on the ruby-dx slack. I am using the tapioca add on for the ruby lsp in an application that has several custom dsl extensions. I am...

### Motivation ### Implementation ### Tests

enhancement

Rails "current" CI tests against `7.1.5` because it's the version specified in the [Gemfile](https://github.com/Shopify/tapioca/blob/main/Gemfile#L7). We should bump this version and start requiring CI checks on Rails 8 as a result....

### Motivation In one of our repos we're loading the same gem `foo` both in a dependency (gem `bar`), and directly in the host project. This `foo` gem is then...

enhancement

`Error loading RubyGems plugin "/home/runner/work/tapioca/tapioca/vendor/bundle/ruby/3.3.0/plugins/rdoc_plugin.rb": cannot load such file -- /home/runner/work/tapioca/tapioca/vendor/bundle/ruby/3.3.0/gems/rdoc-6.12.0/lib/rubygems_plugin.rb (LoadError)` https://github.com/Shopify/tapioca/actions/runs/13273752036/job/37058989656#step:6:46

# Summary When running `tapioca dsl` in a Rails app that * Overrides `T::Configuration.call_validation_error_handler` during application load with a handler that raises errors * Contains a `T::Struct` with a member...

help-wanted

Postgres support in Tapioca for `ActiveRecordColumns` DSL compiler has been slowly increasing https://github.com/search?q=repo%3AShopify%2Ftapioca%20postgresql&type=code. As a result we have untested code paths since we only run an in memory SQLite database...

help-wanted
gh-actions

`tapioca annotations` and `tapioca gem` add potentially copyrighted material to my repository without the corresponding license notices. IANAL, and other people may have reasons why they don't care, but I'm...