openstreetmap-website/app
Andy Allan 1700c23dd1 Prefer find_by() instead of where().first
These are very similar, differing only if we would expect multiple
results and the sorting is important. However, in all our cases
we're only expecting one result to be returned, and so find_by is
easier to read.
2023-10-04 17:53:58 +01:00
..
abilities Add show user block api endpoint 2023-09-09 15:53:22 +03:00
assets Merge remote-tracking branch 'upstream/pull/4268' 2023-10-02 18:48:52 +01:00
controllers Prefer find_by() instead of where().first 2023-10-04 17:53:58 +01:00
helpers Remove <picture>s around <img srcset=...> 2023-10-03 03:06:12 +03:00
jobs Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
mailers Use correct extension and type for avatar images attached to mails 2023-08-09 11:41:55 +01:00
models Improve naming of changeset comment rate limit settings 2023-08-30 18:25:06 +01:00
validators Use .add method for adding errors 2021-03-17 17:09:34 +00:00
views Merge remote-tracking branch 'upstream/pull/4226' 2023-10-03 19:39:41 +01:00