[openstreetmap/openstreetmap-website] Add Communities page (#3301)

Adam Hoyle notifications at github.com
Mon Jul 18 22:07:47 UTC 2022


> > or a gem that covers this
> 
> I've come across https://github.com/byroot/frozen_record today, which is really interesting - creating read-only models from yaml and json files, so at a high level it's what we're looking for. I'll have a look and think about whether it will help, since we don't have a one-to-one mapping between the layout of the data in the json files and the structure of the data that we need. But it could be promising.

ooo yes this looks very interesting. This is exactly what I was hoping existed (creating rails-compatible data models but using a static file instead of a database). Open Community Index has far more data than we need to model, but from reading that link it sounds like a custom backend could be used to produce smaller records. It _should_ be a case of shifting the existing code to a different context, so in theory shouldn't be a big job. I am away until start of August but I'm happy to take a look when I'm back.

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

Message ID: <openstreetmap/openstreetmap-website/pull/3301/c1188370298 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220718/51b17515/attachment.htm>


More information about the rails-dev mailing list