Up to feature testing

Iterating through objects in memory is a good thing to avoid if possible. I think it is work considering if you can do an `ActiveRecord` query here instead.