pablobm left a comment (openstreetmap/openstreetmap-website#6607)
>From those options, I prefer `<singular>_factory.rb`, because:
- The factory within is defined in the singular. It feels weird to me that
`factories/users.rb` defines internally a `factory :user`.
- The suffix helps telling the file from others in an IDE (in a list of tabs or
similar).
But I have worked in projects with the plural before and I can live with it. In
fact I think plural might be more widespread...
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6607#issuecomment-3642095560
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6607/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev