[openstreetmap/openstreetmap-website] Load the community model when the database is offline (PR #3861)

Tom Hughes notifications at github.com
Thu Jan 5 20:29:26 UTC 2023


You can't add an eager load for `app/models/community.rb` because the code which builds the list of eager loads from the path list drops anything which is covered by a parent path.

Fortunately I think I've found a better solution so I've opened #3874 for it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3861#issuecomment-1372708438
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3861/c1372708438 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230105/76a0ed8a/attachment.htm>


More information about the rails-dev mailing list