See in Rails console how many records your query returns. It can help with solving performance issues.
Igor Kasyanchuk
May 11, 2018 8:58am
MIT