tapioca
tapioca copied to clipboard
Tapioca generate ActiveRecord#find with T.untyped as returns type
I find this highly inconsistent, especially when it correctly generates for find_by.

The code in question: https://github.com/Shopify/tapioca/blob/55fdade93e16dcb047af937fa9db17bd99e1d95e/lib/tapioca/dsl/compilers/active_record_relations.rb#L522-L530
Would be happy to submit a fix for this, but need someone to confirm if I overlooked something here.
It isn't. See https://github.com/Shopify/tapioca/pull/1101
Thanks for the info, I see what I overlooked now. Couldn't find that with a cursory search through issue list, so I wonder if a mentioned in README is warrented. Guess this issue is suffice for the next persone tho.