added filterable JSON by some attributes
DRY the RABL, remove self from instance methods, clean up scopes
Set up seeds to make muni_id equal muni id, migrate up subregion-muni join table without populating it yet
Add relationship data from old metrofuture database, and migrate the data in
Add relation between muni and community subtypes (and thereby comm types)
Create a nested /geographies route that renders geojson. Add rgeo-geojson gem
Add a 'subregion' property to index, so we can display the subregion. However, we need to change the subregion to the shortname, meaning we need to migrate & fixtureize a shortname column
Region and County models written
Make Region-Muni many-to-many, set fixtures for Region
Set fixtures for counties, fix county_id column.
Fix Region relation, reorder abbreviations in fixtures
Change geography to geometry. The EPSG/SRID is not what I want it to be, but I was running into errors with 4326. Come back and deal with these later.
Add indexes to foreign keys
Capify project
Remove unicorn
Bundle cap-unicorn
Rewrite fixture paths to reference Rails.root. I had hardcoded the CSV fixture paths previously. Also, I included an SQL execute in a migration whereas previously I had just left it as a comment
Remove user directive from unicorn/production. Remove foreman:restart from deploy.rb, since we're just doing this for the database now.