Skip to content

Commit

Permalink
Remove untyped methods from activerecord.rbi (#347)
Browse files Browse the repository at this point in the history
No reason to have all these methods, they only make maintaining
forward/backward compatibility more difficult for no benefit.

If you want to know all the methods that exist in ActiveRecord, you
should be generating gem RBIs with Sorbet or Tapioca.

I've left in mixes_in_class_methods usages, to make sure that this
commit doesn't remove anything
that `srb rbi gems` wouldn't know about itself.

This resolves a lot of issues with the RBI (e.g. different arguments
between these sigs and the actual methods in rails).
  • Loading branch information
connorshea authored Mar 22, 2021
1 parent 80ee9b9 commit c9bb392
Showing 1 changed file with 12 additions and 878 deletions.
Loading

0 comments on commit c9bb392

Please sign in to comment.