ruby version: 3.0.2 rails version: 6.1.4
Fixes #1132
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>