I don't know why but Rails is adding an order by `id ASC` to this query already.

I executed main_project in console and this is the SQL generated:
```
SELECT `projects`.* FROM `projects` WHERE `projects`.`repository_id` = 1 AND `projects`.`name` = 'kandan' ORDER BY `projects`.`id` ASC LIMIT 1
```