chanzuckerberg / sorbet-rails

A set of tools to make the Sorbet typechecker work with Ruby on Rails seamlessly.
MIT License
638 stars 84 forks source link

Add support for `ActiveRecord::QueryMethods#in_order_of` #513

Closed DanielGilchrist closed 2 years ago

DanielGilchrist commented 2 years ago

https://api.rubyonrails.org/v7.0.0/classes/ActiveRecord/QueryMethods.html#method-i-in_order_of

image
codecov[bot] commented 2 years ago

Codecov Report

Merging #513 (bee0f59) into master (67ef488) will decrease coverage by 0.03%. The diff coverage is 50.00%.

:exclamation: Current head bee0f59 differs from pull request most recent head 6cba94d. Consider uploading reports for the commit 6cba94d to get more accurate results

@@            Coverage Diff             @@
##           master     #513      +/-   ##
==========================================
- Coverage   97.51%   97.48%   -0.04%     
==========================================
  Files         115      115              
  Lines        2976     2978       +2     
==========================================
+ Hits         2902     2903       +1     
- Misses         74       75       +1     
Impacted Files Coverage Δ
...rbet-rails/model_plugins/active_record_querying.rb 96.00% <50.00%> (-4.00%) :arrow_down: