]> git.openstreetmap.org Git - rails.git/commit
Switch to using FrozenRecord for loading communities
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Jul 2022 15:19:08 +0000 (16:19 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Jul 2022 15:19:08 +0000 (16:19 +0100)
commitbb7f5ac2c8cf74669b421e7ae346a0cdd1ba5186
treeb12ea8bd7da259dcb482910e415f847bb1d6a45a
parent819e5ecf94b23004179cce2c53a1a32991324ec7
Switch to using FrozenRecord for loading communities

This allows us to query the records to get the local chapters, which
is more flexible and allows us to use other resources too.
Gemfile
Gemfile.lock
app/controllers/site_controller.rb
app/models/community.rb [new file with mode: 0644]
lib/osm_community_index.rb
lib/osm_community_index/local_chapter.rb
lib/osm_community_index/resource_backend.rb [new file with mode: 0644]