Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return an empty relation instead of an array from db_relation()
db_relation() returns an empty array if it couldn't determine another relation to use. This empty array doesn't work with chained activerecord methods like find_each, and breaks functions like populate_db_data_index!
- Loading branch information