removed region_group (and underlying table) and replaced with has_and_belongs_to_many relationship on Region so that we can do region.super_region and region.sub_regions. Added unit tests for Region
dev
1 parent bb54fcc commit c1d2a6e43310acbcfacdc8fa4dd71354e3dbbcf5
@briley briley authored on 1 Feb 2017
Showing 6 changed files
View
app/models/region.rb
View
app/models/region_group.rb 100644 → 0
View
db/migrate/20170201194502_remove_region_group_and_add_super_region_id_to_regions.rb 0 → 100644
View
db/schema.rb
View
db/seeds.rb
View
test/unit/region_test.rb 0 → 100644